Skip to content
Snippets Groups Projects

Feature/dynamic titles

Merged Maxime requested to merge feature/dynamic-titles into risefor_main/master
4 files
+ 74
19
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -19,7 +19,7 @@ from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.conf import settings
from django.conf.urls.static import static
from django.views import generic
from .views import modulesToFundViewSet,modulesAvailableViewSet
from .views import modulesToFundViewSet,modulesAvailableViewSet, IndexView
#translation imports
from django.conf.urls.i18n import i18n_patterns
@@ -33,7 +33,8 @@ urlpatterns = [
url(r'^i18n/', include('django.conf.urls.i18n')),
url(r'^modules-to-fund/', modulesToFundViewSet.urls()),
url(r'^modules-available/', modulesAvailableViewSet.urls()),
url(r'^', generic.TemplateView.as_view(template_name='index.html'), name='index'),
url(r'^', IndexView.as_view(), name='index'),
# url(r'^', generic.TemplateView.as_view(template_name='index.html'), name='index'),
]
urlpatterns += i18n_patterns(
prefix_default_language = False
Loading