mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-18 12:12:19 +03:00
Pre-commit
This commit is contained in:
parent
8690ca0109
commit
ddf86664f2
|
@ -22,7 +22,7 @@ To quickly add authentication to the browesable api, add a routes named `"login"
|
||||||
```python
|
```python
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
# ...
|
# ...
|
||||||
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework'))
|
url(r"^api-auth/", include("rest_framework.urls", namespace="rest_framework"))
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user