Skip to content

Commit 62fd557

Browse files
committed
Use path in README.md urls.py example
1 parent 7c4a166 commit 62fd557

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ Settings
7878
In this case, you will also need to updates your `urls.py` to include the view
7979
that serves the files:
8080

81-
urlpatterns = patterns('',
81+
urlpatterns = [
8282
# ... the rest of your URLconf goes here ...
8383

8484
# Serve Database Files directly
85-
url(r'', include('binary_database_files.urls')),
86-
)
85+
path(r"", include("binary_database_files.urls")),
86+
]
8787

8888
* `DATABASE_FILES_BASE_URL`
8989

0 commit comments

Comments
 (0)