X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/e977f7187b10b1bc0a30794cd585c6b840568996..5d9c33d00933597e218b732e3bd0bcbb55c4f371:/src/redakcja/urls.py?ds=inline diff --git a/src/redakcja/urls.py b/src/redakcja/urls.py index af8b4f26..6e607305 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,13 +19,16 @@ 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('documents.urls')), url(r'^apiclient/', include('apiclient.urls')), url(r'^editor/', include('wiki.urls')), url(r'^images/', include('wiki_img.urls')), url(r'^cover/', include('cover.urls')), + url(r'^wlxml/', include('wlxml.urls')), + + path('api/', include('redakcja.api.urls')), ]