X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6797be6ce464806fdfb17b6ada71ba7b0b87b2d4..eba1439ce9ffc49fa63c183b0c39179d31d86eae:/wolnelektury/urls.py?ds=sidebyside diff --git a/wolnelektury/urls.py b/wolnelektury/urls.py index 4f49b9c5a..4f9d4ed73 100644 --- a/wolnelektury/urls.py +++ b/wolnelektury/urls.py @@ -39,6 +39,9 @@ urlpatterns = patterns('', url(r'^uzytkownicy/wyloguj/$', 'catalogue.views.logout_then_redirect', name='logout'), url(r'^uzytkownicy/utworz/$', 'catalogue.views.register', name='register'), + # API + (r'^api/', include('api.urls')), + # Static files url(r'^%s(?P.*)$' % settings.MEDIA_URL[1:], 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),