We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c62f81 commit a065c37Copy full SHA for a065c37
1 file changed
project/backend/settings.py
@@ -154,8 +154,9 @@
154
155
REST_FRAMEWORK = {
156
"DEFAULT_PERMISSION_CLASSES": [
157
- "rest_framework.permissions.IsAuthenticatedOrReadOnly",
+ "rest_framework.permissions.AllowAny", # Views handle auth via Firebase middleware
158
],
159
+ "DEFAULT_AUTHENTICATION_CLASSES": [], # Disable DRF auth, using Firebase middleware
160
"DEFAULT_THROTTLE_CLASSES": [
161
"rest_framework.throttling.AnonRateThrottle",
162
"rest_framework.throttling.UserRateThrottle",
0 commit comments