Compare commits

...

3 Commits

3 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ DEBUG = False
SECRET_KEY = None
# Define the administrators (for mail delivery)
ADMINS = [("Piki", {EMAIL_FROM}), ]
ADMINS = [("Piki", EMAIL_FROM), ]
# This defines the listener hostnames for your django server

View File

@ -53,7 +53,7 @@ def page(request, rel_path):
title = rel_path.split("/")[-1]
#
acc = access_control(request, rel_path)
if acc.may_read():
if acc.may_read() or (p is None and rel_path == config.STARTPAGE):
if p is None or p.deleted:
if rel_path == config.STARTPAGE:
page_content = mycreole.render_simple(SUCCESS_PAGE)

2
themes

@ -1 +1 @@
Subproject commit c13b45a7f736c0e8658fbd24ff826ad9b5d336e6
Subproject commit 47e9f3104c5016ef9405c90ee5dfca6e638e7d82