X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8d1372958ce4a205f11fcdd44cf6e9cac8429a69..c9f85a25896062833551550a6da8d4e83cd03d39:/apps/funding/urls.py diff --git a/apps/funding/urls.py b/apps/funding/urls.py index c712b5e08..dc79f3130 100755 --- a/apps/funding/urls.py +++ b/apps/funding/urls.py @@ -3,14 +3,15 @@ # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # from django.conf.urls import patterns, url -from django.views.generic import DetailView, ListView, FormView +from django.views.generic import ListView, FormView, TemplateView from .models import Offer -from .views import WLFundView +from .views import WLFundView, OfferDetailView, ThanksView urlpatterns = patterns('', url(r'^$', ListView.as_view(queryset=Offer.public()), name='funding'), - url(r'lektura/^(?P[^/]+)/$', DetailView.as_view(queryset=Offer.public()), name='funding_offer'), - url(r'fundusz/$', WLFundView.as_view(), name='funding_wlfund'), + url(r'^lektura/(?P[^/]+)/$', OfferDetailView.as_view(), name='funding_offer'), + url(r'^dziekujemy/$', ThanksView.as_view(), name='funding_thanks'), + url(r'^fundusz/$', WLFundView.as_view(), name='funding_wlfund'), )