mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-01 02:32:23 +02:00
![]() * Add a @requires_admin decorator It can be used to protect specific endpoints with ADMIN_PASSWORD (a password that is stored unencrypted in the settings) The decorator has no effect if ADMIN_PASSWORD is an empty string (default value) * Require admin permissions to access create project endpoint When ADMIN_PASSWORD is not empty, project creation form on the home page will be replaced by a link to the create project endpoint so one is able to enter the admin password before filling the form |
||
---|---|---|
.. | ||
migrations | ||
static | ||
templates | ||
tests | ||
translations/fr/LC_MESSAGES | ||
__init__.py | ||
api.py | ||
babel.cfg | ||
default_settings.py | ||
forms.py | ||
manage.py | ||
messages.pot | ||
models.py | ||
run.py | ||
utils.py | ||
web.py |