[extensions-web/django/upgrade-1.8] upgrade: added helper script to upgrade pre-Django-1.8 instance



commit 723f527ebe0dc6c4c4b4841b34afb6529cf1eb50
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Thu Oct 27 19:45:24 2016 +0300

    upgrade: added helper script to upgrade pre-Django-1.8 instance

 migrate-1.4-1.8.sh |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/migrate-1.4-1.8.sh b/migrate-1.4-1.8.sh
new file mode 100755
index 0000000..0303c19
--- /dev/null
+++ b/migrate-1.4-1.8.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# Helper script to migrate pre-Django-1.8 installation to current
+
+python manage.py migrate contenttypes --fake-initial
+python manage.py migrate auth --fake-initial
+python manage.py migrate admin --fake-initial
+python manage.py migrate sites --fake-initial
+python manage.py migrate django_comments --fake-initial
+python manage.py migrate extensions --fake-initial
+python manage.py migrate errorreports --fake-initial
+python manage.py migrate ratings --fake-initial
+python manage.py migrate registration --fake-initial
+python manage.py migrate review --fake-initial
+python manage.py migrate sessions --fake-initial
+python manage.py syncdb


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]