В urls.py есть рецепт, как сделать домашнюю страницу, которую можно редактировать с помощью администратора:Создание Мезонин Главная страница редактируемые
# HOMEPAGE AS AN EDITABLE PAGE IN THE PAGE TREE
# ---------------------------------------------
# This pattern gives us a normal ``Page`` object, so that your
# homepage can be managed via the page tree in the admin. If you
# use this pattern, you'll need to create a page in the page tree,
# and specify its URL (in the Meta Data section) as "/", which
# is the value used below in the ``{"slug": "/"}`` part.
# Also note that the normal rule of adding a custom
# template per page with the template name using the page's slug
# doesn't apply here, since we can't have a template called
# "/.html" - so for this case, the template "pages/index.html"
# should be used if you want to customize the homepage's template.
url("^$", "mezzanine.pages.views.page", {"slug": "/"}, name="home"),
Так,
1) создать страницу с именем «дом 'в админ с URL „/“ в разделе метаданных
2) Я раскомментировать url("^$", "mezzanine.pages.views.page", {"slug": "/"}, name="home"),
в urls.py моего сайта
и после этого я получаю страницу Мезонин стиле с „Error“ и никаких конкретных Информация.
Как я могу это исправить?
ТНХ, сделал все это. , возможно, придется переустановить mezz когда-нибудь, но на данный момент его разворачивают, поэтому я возился. – sdd