X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..f82fa14e5f5b02994272fc0b588e557d5be6f2a4:/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'),