Skip to content

Commit b463878

Browse files
authored
Commas added in README (#7730)
To make it more comfortable for users to copy and paste snippets
1 parent e32ebc4 commit b463878

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ router.register(r'users', UserViewSet)
113113
# Additionally, we include login URLs for the browsable API.
114114
urlpatterns = [
115115
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')),
117117
]
118118
```
119119

@@ -131,7 +131,7 @@ REST_FRAMEWORK = {
131131
# Use Django's standard `django.contrib.auth` permissions,
132132
# or allow read-only access for unauthenticated users.
133133
'DEFAULT_PERMISSION_CLASSES': [
134-
'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
134+
'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly',
135135
]
136136
}
137137
```

0 commit comments

Comments
 (0)