X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6797be6ce464806fdfb17b6ada71ba7b0b87b2d4..47f8090f9e8c6e91ae95578ca43664b6b18fe795:/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}),