From 7a918c93498c2eb4f85b3b0198c03f3c2edf51fe Mon Sep 17 00:00:00 2001 From: 0livd Date: Mon, 4 Sep 2017 15:44:20 +0200 Subject: Enhance the dashboard. (#262) * Update to a more flexible admin authentication * Admin can now access any project * Add delete and edit options in the dashboard * Add a link to the dashboard in the nav bar This is a rework of the changes proposed by @Olivd, so they can apply on top of the latest master without trouble. All credit goes to him for the code. --- ihatemoney/default_settings.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ihatemoney/default_settings.py') diff --git a/ihatemoney/default_settings.py b/ihatemoney/default_settings.py index fcb41db..c7ce297 100644 --- a/ihatemoney/default_settings.py +++ b/ihatemoney/default_settings.py @@ -29,3 +29,9 @@ ACTIVATE_DEMO_PROJECT = True # DO NOT enter the password in cleartext. Generate a password hash with # "ihatemoney generate_password_hash" instead. ADMIN_PASSWORD = "" + +# If set to True (default value) anyone can create a new project. +ALLOW_PUBLIC_PROJECT_CREATION = True + +# If set to True, an administration dashboard is available. +ACTIVATE_ADMIN_DASHBOARD = False -- cgit v1.1