File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ router.register(r'users', UserViewSet)
113
113
# Additionally, we include login URLs for the browsable API.
114
114
urlpatterns = [
115
115
path(' ' , include(router.urls)),
116
- path(' api-auth/' , include(' rest_framework.urls' , namespace = ' rest_framework' ))
116
+ path(' api-auth/' , include(' rest_framework.urls' , namespace = ' rest_framework' )),
117
117
]
118
118
```
119
119
@@ -131,7 +131,7 @@ REST_FRAMEWORK = {
131
131
# Use Django's standard `django.contrib.auth` permissions,
132
132
# or allow read-only access for unauthenticated users.
133
133
' DEFAULT_PERMISSION_CLASSES' : [
134
- ' rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
134
+ ' rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly' ,
135
135
]
136
136
}
137
137
```
You can’t perform that action at this time.
0 commit comments