2016-03-22 00:21:50 +00:00
|
|
|
from django.conf.urls import url
|
2016-04-09 07:53:05 +00:00
|
|
|
from django.utils.translation import ugettext_lazy as _
|
2016-05-01 12:13:12 +00:00
|
|
|
|
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-05-01 12:13:12 +00:00
|
|
|
# url(r'^$', IndexView.as_view(), name='home'),
|
|
|
|
# url(_(r'home/?$'), IndexView.as_view(), name='home'),
|
|
|
|
# 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-05-02 00:00:38 +00:00
|
|
|
url(r'calendar_api/(?P<month>\d+)/(?P<year>\d+)?$', views.CalendarApi.as_view(),name='calendar_api_1'),
|
|
|
|
url(r'calendar_api/', views.CalendarApi.as_view(),name='calendar_api'),
|
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
|
|
|
]
|