3 Commits

Author SHA1 Message Date
  Dirk Alders 1d141ddbed theme update - missing migration 2 months ago
  Dirk Alders cc585eaaa0 Fix: View right for non existing startpage 2 months ago
  Dirk Alders ac1b22953b Fix: config_example ADMIN email definition 2 months ago
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      config_example/config.py
  2. 1
    1
      pages/views.py
  3. 1
    1
      themes

+ 1
- 1
config_example/config.py View File

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

+ 1
- 1
pages/views.py View File

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

+ 1
- 1
themes

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

Loading…
Cancel
Save