Closed karesh closed 7 years ago
Hi, could you provide the full traceback, it will help understand where this is called from.
Almost certainly need to set UNAUTHENTICATED_USER=None
See: http://www.django-rest-framework.org/api-guide/settings/#unauthenticated_user
I guess we could consider changing the default so that it inspects INSTALLED_APPS
and determines a default automatically, although that could be brittle.
An alternative would be to provide better error messaging, but it's not clear how we'd be able to do that.
I want to use the django project as one microservice REST application without any auth module. After I disable the auth and admin modules I go the error when I start the project.
How can I use DRF without auth module. Because I only the rest api connected to cassandra cluster .