Temporary view to avoid redirection.
authorRadek Czajka <rczajka@rczajka.pl>
Tue, 19 Apr 2022 11:54:27 +0000 (13:54 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Tue, 19 Apr 2022 11:54:27 +0000 (13:54 +0200)
src/wolnelektury/urls.py

index 5fdff16..e6c407a 100644 (file)
@@ -8,6 +8,7 @@ from django.views.generic import RedirectView
 import django.views.static
 from annoy.utils import banner_exempt
 import catalogue.views
 import django.views.static
 from annoy.utils import banner_exempt
 import catalogue.views
+import club.views
 import picture.views
 from . import views
 
 import picture.views
 from . import views
 
@@ -52,6 +53,7 @@ urlpatterns += [
     path('paypal/', include('paypal.urls')),
     path('powiadomienie/', include('push.urls')),
     path('pomagam/', include('club.urls')),
     path('paypal/', include('paypal.urls')),
     path('powiadomienie/', include('push.urls')),
     path('pomagam/', include('club.urls')),
+    path('towarzystwo/notify/<int:pk>/',  club.views.PayUNotifyView.as_view(), name='club_payu_notify'),
     path('towarzystwo/<path:path>', RedirectView.as_view(
         url='/pomagam/%(path)s', permanent=False)),
 
     path('towarzystwo/<path:path>', RedirectView.as_view(
         url='/pomagam/%(path)s', permanent=False)),