Compare commits
3 Commits
7d1f4023e3
...
1d141ddbed
Author | SHA1 | Date | |
---|---|---|---|
1d141ddbed | |||
cc585eaaa0 | |||
ac1b22953b |
@ -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
|
||||
|
@ -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
2
themes
@ -1 +1 @@
|
||||
Subproject commit c13b45a7f736c0e8658fbd24ff826ad9b5d336e6
|
||||
Subproject commit 47e9f3104c5016ef9405c90ee5dfca6e638e7d82
|
Loading…
x
Reference in New Issue
Block a user