Re: Ignore authentication on a single list_route within ViewSet?

2017-01-07 Thread Norbert Mate
Maybe you should try this with class based views. I have something like this implemented as a class based view and it is working. I have something like this: from rest_framework import status, generics from rest_framework.response import Response from rest_framework.permissions import

Ignore authentication on a single list_route within ViewSet?

2017-01-04 Thread Dan
Hi everyone, I am trying to figure out how to remove authentication from a single view within a ViewSet. I essentially want this endpoint to be public, but not effect any other view in here. In settings.py I have: REST_FRAMEWORK = { 'DEFAULT_AUTHENTICATION_CLASSES': (