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