Self hosted FLOSS fitness/workout, nutrition and weight tracker
Use only 'postgresql' as engine
Roland Geiderf276794a0284
diff --git a/docs/production.rst b/docs/production.rstindex b6b4edb6b..bff986d61 100644--- a/docs/production.rst+++ b/docs/production.rst@@ -121,7 +121,7 @@ Get the application::wger create-settings --database-path /home/wger/db/database.sqliteIf you are using postgres, you need to edit the settings file and set the-correct values for the database (use ``django.db.backends.postgresql_psycopg2``+correct values for the database (use ``django.db.backends.postgresql``for the engine). Also set ``MEDIA_ROOT`` to ``/home/wger/media`` and``STATIC_ROOT`` to ``/home/wger/static``.diff --git a/wger/tasks.py b/wger/tasks.pyindex 077e50dcc..b6e54f03d 100644--- a/wger/tasks.py+++ b/wger/tasks.py@@ -140,7 +140,7 @@ def create_settings(settings_content = settings_file.read()if database_type == 'postgresql':- dbengine = 'postgresql_psycopg2'+ dbengine = 'postgresql'dbname = 'wger'dbuser = 'wger'dbpassword = 'wger'