From ee3ec83629721a99d9b6f5ed108ad58fa06fc030 Mon Sep 17 00:00:00 2001 From: Kamil Sampolski Date: Thu, 19 Mar 2020 22:13:18 +0100 Subject: [PATCH] Update README.md We should use path instead of url in urlpatterns --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c7c90e898..95020bb1d 100644 --- a/README.md +++ b/README.md @@ -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