Self hosted FLOSS fitness/workout, nutrition and weight tracker
Perform a migration with south when initialising the database
Roland Geiderbe91598b87a6
diff --git a/wger/main.py b/wger/main.pyindex 5982696c1..e3ad8967d 100755--- a/wger/main.py+++ b/wger/main.py@@ -280,8 +280,8 @@ def run_syncdb():print "* Intialising the database"# Create the tables- argv = ["", "syncdb", "--noinput"]- execute_from_command_line(argv)+ execute_from_command_line(["", "syncdb", "--noinput"])+ execute_from_command_line(["", "migrate", "--all"])# Load fixturesexecute_from_command_line(["", "loaddata", "languages"])