X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/31006b86a2e9883d8a4c5fe18128821b325773ab..a74c48a5de6d9a00f76f7c10b41bd4a26691a22f:/apps/fileupload/urls.py diff --git a/apps/fileupload/urls.py b/apps/fileupload/urls.py index 68bdc482..1098ec64 100644 --- a/apps/fileupload/urls.py +++ b/apps/fileupload/urls.py @@ -3,10 +3,9 @@ # This file is part of MIL/PEER, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # -from django.conf.urls import patterns, url +from django.conf.urls import url from fileupload.views import UploadView -urlpatterns = patterns( - '', +urlpatterns = ( url(r'^(?P(?:.*/)?)$', UploadView.as_view(), name='fileupload'), )