X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/28f2c56226ccce81a705d9a7c5dc4ba122ea0b7f..01ba89e7caab3e386df4b1a99a93b98a237a0457:/wolnelektury/urls.py?ds=sidebyside diff --git a/wolnelektury/urls.py b/wolnelektury/urls.py index e501ae1d2..abe872fa7 100644 --- a/wolnelektury/urls.py +++ b/wolnelektury/urls.py @@ -1,15 +1,16 @@ # -*- coding: utf-8 -*- +# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# import os -from django.conf.urls.defaults import * +from django.conf.urls import include, patterns, url from django.conf import settings from django.contrib import admin from django.views.generic import RedirectView import wolnelektury_core.views -admin.autodiscover() - urlpatterns = patterns('wolnelektury_core.views', url(r'^$', 'main_page', name='main_page'), url(r'^planowane/$', 'publish_plan', name='publish_plan'), @@ -26,7 +27,6 @@ urlpatterns = patterns('wolnelektury_core.views', urlpatterns += patterns('', url(r'^katalog/', include('catalogue.urls')), - #url(r'^materialy/', include('lessons.urls')), url(r'^opds/', include('opds.urls')), url(r'^sugestia/', include('suggest.urls')), url(r'^lesmianator/', include('lesmianator.urls')), @@ -36,6 +36,9 @@ urlpatterns += patterns('', url(r'^ludzie/', include('social.urls')), url(r'^uzytkownik/', include('allauth.urls')), url(r'^czekaj/', include('waiter.urls')), + url(r'^wesprzyj/', include('funding.urls')), + url(r'^ankieta/', include('polls.urls')), + url(r'^biblioteki', include('libraries.urls')), # Admin panel url(r'^admin/catalogue/book/import$', 'catalogue.views.import_book', name='import_book'), @@ -45,6 +48,8 @@ urlpatterns += patterns('', # API (r'^api/', include('api.urls')), + # OAIPMH + (r'^oaipmh/', include('oai.urls')), url(r'^szukaj/', include('search.urls')),