Some minor funding changes.
[wolnelektury.git] / apps / funding / urls.py
1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 #
5 from django.conf.urls import patterns, url
6
7 from .models import Offer
8 from .views import WLFundView, OfferDetailView, ThanksView, OfferListView
9
10
11 urlpatterns = patterns('',
12     url(r'^$', OfferDetailView.as_view(), name='funding_current'),
13     url(r'^lektura/$', OfferListView.as_view(), name='funding'),
14     url(r'^lektura/(?P<slug>[^/]+)/$', OfferDetailView.as_view(), name='funding_offer'),
15     url(r'^dziekujemy/$', ThanksView.as_view(), name='funding_thanks'),
16     url(r'^fundusz/$', WLFundView.as_view(), name='funding_wlfund'),
17 )