reverted changes to url structure

This commit is contained in:
Tomislav R 2016-04-24 23:16:38 +02:00
commit 2dff11d446
6 changed files with 10 additions and 12 deletions

View file

@ -5,9 +5,9 @@ from . import views
from .views import ContactView, IndexView, AboutView
urlpatterns = [
url(r'^$', IndexView.as_view(), name='home'),
url(_(r'home/?$'), IndexView.as_view(), name='home'),
url(_(r'about/?$'), AboutView.as_view(), name='about'),
# url(r'^$', IndexView.as_view(), name='home'),
# url(_(r'home/?$'), IndexView.as_view(), name='home'),
# url(_(r'about/?$'), AboutView.as_view(), name='about'),
url(_(r'contact/?$'), ContactView.as_view(), name='contact'),
url(_(r'supporters/?$'), views.supporters, name='supporters'),
url(r'calendar_api/(?P<month>\d+)/(?P<year>\d+)?$',views.CalendarApi.as_view()),