Self hosted FLOSS fitness/workout, nutrition and weight tracker
escape 'media_folder_path'
Roman Pavlov8af54966136b
diff --git a/tasks.py b/tasks.pyindex 076370a68..7f57152e4 100644--- a/tasks.py+++ b/tasks.py@@ -117,7 +117,7 @@ def create_settings(settings_path=None, database_path=None, url=None, database_tdatabase_path = get_user_data_path('wger', 'database.sqlite')dbpath_value = repr(database_path)- media_folder_path = get_user_data_path('wger', 'media')+ media_folder_path = repr(get_user_data_path('wger', 'media'))# Fill in the config file templatediff --git a/wger/settings.tpl b/wger/settings.tplindex 96b821c0c..b60185404 100644--- a/wger/settings.tpl+++ b/wger/settings.tpl@@ -43,7 +43,7 @@ BROWSERID_AUDIENCES = [SITE_URL]# Path to uploaded files# Absolute filesystem path to the directory that will hold user-uploaded files.-MEDIA_ROOT = '{media_folder_path}'+MEDIA_ROOT = {media_folder_path}MEDIA_URL = SITE_URL + '/static/'if DEBUG:# Serve the uploaded files like this only during development