From 4a69b842f2d1fe9e0dffffe5c34507304f6b8813 Mon Sep 17 00:00:00 2001 From: rvernica Date: Thu, 4 Apr 2019 10:23:38 -0700 Subject: [PATCH] Update example to use new `path` construct --- docs/api-guide/parsers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/parsers.md b/docs/api-guide/parsers.md index be48ae7e5..511955413 100644 --- a/docs/api-guide/parsers.md +++ b/docs/api-guide/parsers.md @@ -122,7 +122,7 @@ If it is called without a `filename` URL keyword argument, then the client must # urls.py urlpatterns = [ # ... - url(r'^upload/(?P[^/]+)$', FileUploadView.as_view()) + path('upload//', FileUploadView.as_view()) ] ---