X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..13744e6a262e924836be809b7d7845c2c8eaadc5:/src/funding/urls.py?ds=sidebyside 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'),