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-08-09 05:54:25 +00:00
|
|
|
from .views import ContactView, IndexView, AboutView, HistoryView
|
2016-08-11 06:07:12 +00:00
|
|
|
from membership.views import LoginRegistrationView
|
2015-05-02 15:15:20 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2016-08-04 06:07:41 +00:00
|
|
|
url(_(r'^$'), IndexView.as_view(), name='landing'),
|
2016-04-09 07:53:05 +00:00
|
|
|
url(_(r'contact/?$'), ContactView.as_view(), name='contact'),
|
2016-08-11 06:07:12 +00:00
|
|
|
url(_(r'login/?$'), LoginRegistrationView.as_view(), name='login'),
|
2016-08-09 05:54:25 +00:00
|
|
|
url(_(r'history/?$'), HistoryView.as_view(), name='history'),
|
2016-04-09 07:53:05 +00:00
|
|
|
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
|
|
|
]
|