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