From: Radek Czajka <rczajka@rczajka.pl>
Date: Tue, 19 Apr 2022 11:54:27 +0000 (+0200)
Subject: Temporary view to avoid redirection.
X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/534be56c67fa79cded7631a0aeeae62859ba4513

Temporary view to avoid redirection.
---

diff --git a/src/wolnelektury/urls.py b/src/wolnelektury/urls.py
index 5fdff167c..e6c407a96 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,6 +53,7 @@ urlpatterns += [
     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)),