added flag to address 2.2 deprecation warning. ref: http://www.django-rest-framework.org/topics/2.2-announcement