X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/72fe2a679f27d81c92c65cf005ebf13fae7c7e34..528a34731579d8b81df43879f2b63c2754005a86:/src/wolnelektury/urls.py?ds=sidebyside diff --git a/src/wolnelektury/urls.py b/src/wolnelektury/urls.py index 5fdff167c..f71b02ba8 100644 --- a/src/wolnelektury/urls.py +++ b/src/wolnelektury/urls.py @@ -8,6 +8,7 @@ from django.views.generic import RedirectView import django.views.static from annoy.utils import banner_exempt import catalogue.views +import club.views import picture.views from . import views @@ -52,9 +53,13 @@ urlpatterns += [ path('paypal/', include('paypal.urls')), path('powiadomienie/', include('push.urls')), path('pomagam/', include('club.urls')), + path('towarzystwo/notify//', club.views.PayUNotifyView.as_view(), name='club_payu_notify'), + path('towarzystwo/', RedirectView.as_view(url='/pomagam/', permanent=False, query_string=True)), path('towarzystwo/', RedirectView.as_view( url='/pomagam/%(path)s', permanent=False)), + path('chunks/', include('chunks.urls')), + # Admin panel path('admin/catalogue/book/import', catalogue.views.import_book, name='import_book'), path('admin/catalogue/picture/import', picture.views.import_picture, name='import_picture'), @@ -69,7 +74,6 @@ urlpatterns += [ path('szukaj/', include('search.urls')), path('i18n/', include('django.conf.urls.i18n')), - path('forum/', include('machina.urls')), ] urlpatterns += [