X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..46185b67f099b17b25b55d3ad49d8d45a2fc3a6f:/src/funding/urls.py diff --git a/src/funding/urls.py b/src/funding/urls.py index 4d806e84b..1f0d494eb 100644 --- a/src/funding/urls.py +++ b/src/funding/urls.py @@ -4,12 +4,12 @@ # from django.conf.urls import patterns, url, include -from .views import (WLFundView, OfferDetailView, OfferListView, - ThanksView, NoThanksView, CurrentView, DisableNotifications) +from .views import WLFundView, OfferDetailView, OfferListView, ThanksView, NoThanksView, CurrentView, \ + DisableNotifications -urlpatterns = patterns('funding.views', - +urlpatterns = patterns( + 'funding.views', url(r'^$', CurrentView.as_view(), name='funding_current'), url(r'^teraz/$', CurrentView.as_view()), url(r'^teraz/(?P[^/]+)/$', CurrentView.as_view(), name='funding_current'),