Update README.md

We should use path instead of url in urlpatterns
This commit is contained in:
Kamil Sampolski 2020-03-19 22:13:18 +01:00 committed by GitHub
parent ca7674a4e0
commit ee3ec83629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ Startup up a new project like so...
Now edit the `example/urls.py` module in your project:
```python
from django.conf.urls import url, include
from django.urls import path, include
from django.contrib.auth.models import User
from rest_framework import serializers, viewsets, routers