Skip to content

Commit

Permalink
Update URL pattern instructions in README (#225)
Browse files Browse the repository at this point in the history
Move recommended way to add the authentication endpoint, from using `url` to using `path`.
  • Loading branch information
rafaellehmkuhl committed Feb 20, 2021
1 parent 485a0b0 commit 73a4bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Add URL patterns

```python
urlpatterns = [
url(r'^dj-rest-auth/', include('dj_rest_auth.urls'))
path('dj-rest-auth/', include('dj_rest_auth.urls')),
]
```

Expand Down

0 comments on commit 73a4bd4

Please sign in to comment.