Simple homepage
This commit is contained in:
parent
997e4bcdfd
commit
7a88ce8006
4 changed files with 11 additions and 20 deletions
|
@ -1,11 +0,0 @@
|
|||
{% extends "base.html" %}
|
||||
{% load cms_tags staticfiles sekizai_tags menu_tags %}
|
||||
|
||||
{% block content %}
|
||||
<div class="jumbotron">
|
||||
{% placeholder "feature" %}
|
||||
</div>
|
||||
<div>
|
||||
{% placeholder "content" %}
|
||||
</div>
|
||||
{% endblock content %}
|
9
mamweb/templates/home.html
Normal file
9
mamweb/templates/home.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div>
|
||||
<h2>Vítejte na testwebu MaM!</h2>
|
||||
<p><a href='/admin/'>Administrátorské rozhraní</a> (admin/admin)
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
{% extends "base.html" %}
|
||||
{% load cms_tags staticfiles sekizai_tags menu_tags %}
|
||||
|
||||
{% block content %}
|
||||
<div>
|
||||
{% placeholder "content" %}
|
||||
</div>
|
||||
{% endblock content %}
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue