diff --git a/mamweb/templates/feature.html b/mamweb/templates/feature.html deleted file mode 100644 index c6dc9592..00000000 --- a/mamweb/templates/feature.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "base.html" %} -{% load cms_tags staticfiles sekizai_tags menu_tags %} - -{% block content %} -
- {% placeholder "feature" %} -
-
- {% placeholder "content" %} -
-{% endblock content %} diff --git a/mamweb/templates/home.html b/mamweb/templates/home.html new file mode 100644 index 00000000..e7c89743 --- /dev/null +++ b/mamweb/templates/home.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block content %} +
+

Vítejte na testwebu MaM!

+

Administrátorské rozhraní (admin/admin) +

+{% endblock content %} + diff --git a/mamweb/templates/page.html b/mamweb/templates/page.html deleted file mode 100644 index ddf8fda6..00000000 --- a/mamweb/templates/page.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "base.html" %} -{% load cms_tags staticfiles sekizai_tags menu_tags %} - -{% block content %} -
- {% placeholder "content" %} -
-{% endblock content %} diff --git a/mamweb/urls.py b/mamweb/urls.py index 1960c7b8..0fcc599a 100644 --- a/mamweb/urls.py +++ b/mamweb/urls.py @@ -3,14 +3,15 @@ from django.conf.urls.i18n import i18n_patterns from django.contrib.staticfiles.urls import staticfiles_urlpatterns from django.contrib import admin from django.conf import settings +from django.views.generic.base import TemplateView urlpatterns = i18n_patterns('', url(r'^admin/', include(admin.site.urls)), # NOQA - url(r'^r/', include('django.conf.urls.shortcut')), url(r'^admin_tools/', include('admin_tools.urls')), url(r'^ckeditor/', include('ckeditor.urls')), url(r'^', include('seminar.urls')), + url(r'^$', TemplateView.as_view(template_name='home.html'), name='home'), ) # This is only needed when using runserver.