2016-03-22 01:21:50 +01:00
|
|
|
from django.conf.urls import url
|
2015-05-02 17:15:20 +02:00
|
|
|
|
2016-04-09 02:53:05 -05:00
|
|
|
from django.utils.translation import ugettext_lazy as _
|
2015-05-02 17:15:20 +02:00
|
|
|
from . import views
|
2016-04-13 00:31:19 -05:00
|
|
|
from .views import ContactView, IndexView, AboutView
|
2015-05-02 17:15:20 +02:00
|
|
|
|
|
|
|
urlpatterns = [
|
2016-04-24 23:16:38 +02:00
|
|
|
# url(r'^$', IndexView.as_view(), name='home'),
|
2016-04-26 01:16:03 -05:00
|
|
|
url(_(r'home/?$'), IndexView.as_view(), name='home'),
|
|
|
|
url(_(r'about/?$'), AboutView.as_view(), name='about'),
|
2016-04-09 02:53:05 -05:00
|
|
|
url(_(r'contact/?$'), ContactView.as_view(), name='contact'),
|
|
|
|
url(_(r'supporters/?$'), views.supporters, name='supporters'),
|
2016-04-23 20:12:55 +02: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 02:53:05 -05:00
|
|
|
url(_(r'support-us/?$'), views.support, name='support'),
|
2016-03-25 19:18:07 +01:00
|
|
|
url(r'^blog/(?P<slug>\w[-\w]*)/$', views.blog_detail, name='blog-detail'),
|
2016-04-09 03:00:41 -05:00
|
|
|
url(r'blog/$', views.blog, name='blog'),
|
2015-05-02 17:15:20 +02:00
|
|
|
]
|