From 75dd7ab61eca4cc16ab5171ff1ba6a7f639b8e94 Mon Sep 17 00:00:00 2001 From: DMalko Date: Wed, 28 Oct 2020 12:11:05 +0300 Subject: [PATCH] to make compatible with Django 3.1 --- mysite/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysite/urls.py b/mysite/urls.py index 6604d32..c2046aa 100644 --- a/mysite/urls.py +++ b/mysite/urls.py @@ -6,7 +6,7 @@ urlpatterns = [ url(r'^$', TemplateView.as_view(template_name='home.html'), name='home'), - url(r'^photos/', include('mysite.photos.urls', namespace='photos')), + url(r'^photos/', include(('mysite.photos.urls', 'photos'), namespace='photos')), ] if settings.DEBUG: