X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/2c6efebdedb5212749f1f6340118e31c22b260b1..05a64b9314fac5f613133332d7d0b5b568ab8afc:/src/redakcja/urls.py diff --git a/src/redakcja/urls.py b/src/redakcja/urls.py index 9f5d6e03..fe2193e7 100644 --- a/src/redakcja/urls.py +++ b/src/redakcja/urls.py @@ -1,7 +1,8 @@ # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # -from django.conf.urls import include, url +from django.conf.urls import url +from django.urls import include, path from django.contrib import admin from django.conf import settings from django.conf.urls.static import static @@ -18,9 +19,9 @@ urlpatterns = [ # Admin panel url(r'^admin/doc/', include('django.contrib.admindocs.urls')), url(r'^admin/', admin.site.urls), - + path('catalogue/', include('catalogue.urls')), url(r'^$', RedirectView.as_view(url='/documents/', permanent=False)), - url(r'^documents/', include('catalogue.urls')), + url(r'^documents/', include('documents.urls')), url(r'^apiclient/', include('apiclient.urls')), url(r'^editor/', include('wiki.urls')), url(r'^images/', include('wiki_img.urls')),