Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add description to tasks missing it
Roland Geider57e8dff7aceb
diff --git a/tasks.py b/tasks.pyindex 027c1aa14..58da83764 100644--- a/tasks.py+++ b/tasks.py@@ -107,6 +107,9 @@ def bootstrap_app(settings=None, address='localhost', port=8000, browser=False,@taskdef create_settings(settings_path=None, database_path=None, url=None, database_type='sqlite3', key_length=30):+ '''+ Creates a local settings file+ '''if settings_path is None:settings_path = get_user_config_path('wger', 'settings.py')settings_module = os.path.dirname(settings_path)@@ -165,6 +168,10 @@ def create_settings(settings_path=None, database_path=None, url=None, database_t@taskdef create_or_reset_admin():+ '''+ Creates an admin user or resets the password for an existing one+ '''+# can't be imported in global scope as it already requires# the settings module during importfrom wger.manager.models import User