2016-03-22 00:21:50 +00:00
|
|
|
from django.conf.urls import url
|
2015-05-02 15:15:20 +00:00
|
|
|
|
2016-04-09 07:53:05 +00:00
|
|
|
from django.utils.translation import ugettext_lazy as _
|
2015-05-02 15:15:20 +00:00
|
|
|
from . import views
|
2016-04-13 05:31:19 +00:00
|
|
|
from .views import ContactView, IndexView, AboutView
|
2015-05-02 15:15:20 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2016-04-13 05:31:19 +00:00
|
|
|
url(_(r'index/?$'), IndexView.as_view(), name='index'),
|
|
|
|
url(_(r'about/?$'), AboutView.as_view(), name='about'),
|
2016-04-09 07:53:05 +00:00
|
|
|
url(_(r'contact/?$'), ContactView.as_view(), name='contact'),
|
|
|
|
url(_(r'supporters/?$'), views.supporters, name='supporters'),
|
2016-04-23 17:00:20 +00:00
|
|
|
url(_(r'calendar_api/(?P<month>\d+)/(?P<year>\d+)?$'),views.CalendarApi.as_view()),
|
|
|
|
url(_(r'calendar_api/'),views.CalendarApi.as_view()),
|
2016-04-09 07:53:05 +00:00
|
|
|
url(_(r'support-us/?$'), views.support, name='support'),
|
2016-03-25 18:18:07 +00:00
|
|
|
url(r'^blog/(?P<slug>\w[-\w]*)/$', views.blog_detail, name='blog-detail'),
|
2016-04-09 08:00:41 +00:00
|
|
|
url(r'blog/$', views.blog, name='blog'),
|
2015-05-02 15:15:20 +00:00
|
|
|
]
|