Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix problem with site URL when creating settings
Roland Geider2fd259b2f05f
diff --git a/tasks.py b/tasks.pyindex 7f57152e4..efe47c7c5 100644--- a/tasks.py+++ b/tasks.py@@ -119,6 +119,10 @@ def create_settings(settings_path=None, database_path=None, url=None, database_tmedia_folder_path = repr(get_user_data_path('wger', 'media'))+ # Use localhost with default django port if no URL given+ if url is None:+ url = 'http://localhost:8000'+# Fill in the config file template# os.chdir(os.path.dirname(inspect.stack()[0][1]))