diff options
| author | 0livd <github@destras.fr> | 2017-09-04 15:44:20 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2017-09-04 15:44:20 +0200 |
| commit | 7a918c93498c2eb4f85b3b0198c03f3c2edf51fe (patch) | |
| tree | 885fe498c3f27acb8fc73f5d37765c7e42669762 /ihatemoney/default_settings.py | |
| parent | ee1ecbf3e747daa711744a05027a667a302cc7e9 (diff) | |
| download | ihatemoney-mirror-7a918c93498c2eb4f85b3b0198c03f3c2edf51fe.zip ihatemoney-mirror-7a918c93498c2eb4f85b3b0198c03f3c2edf51fe.tar.gz ihatemoney-mirror-7a918c93498c2eb4f85b3b0198c03f3c2edf51fe.tar.bz2 | |
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.
Diffstat (limited to 'ihatemoney/default_settings.py')
| -rw-r--r-- | ihatemoney/default_settings.py | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
