summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2010-06-06 11:36:57 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-06-07 08:42:52 -0500
commita4c1a4a486e581009f54aa4c0afabb3d2c601e86 (patch)
tree9e76418cfeea282f6ab14a568bae12f435a61acf /src
parent8781c47d0ddac22192f1c233606d3a2923abd6f9 (diff)
downloadbcfg2-a4c1a4a486e581009f54aa4c0afabb3d2c601e86.tar.gz
bcfg2-a4c1a4a486e581009f54aa4c0afabb3d2c601e86.tar.bz2
bcfg2-a4c1a4a486e581009f54aa4c0afabb3d2c601e86.zip
updatefix.py doesn't load initial database version for django 1.*
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5892 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Reports/updatefix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Reports/updatefix.py b/src/lib/Server/Reports/updatefix.py
index 89642f9f9..37e40c3bd 100644
--- a/src/lib/Server/Reports/updatefix.py
+++ b/src/lib/Server/Reports/updatefix.py
@@ -146,7 +146,7 @@ def dosync():
# not yet tested for full functionnality
django.core.management.call_command("syncdb", interactive=False, verbosity=0)
if fresh:
- django.core.management.call_command("loaddata", fixture_labels=['initial_version'], verbosity=0)
+ django.core.management.call_command("loaddata", 'initial_version.xml', verbosity=0)
elif "syncdb" in dir(django.core.management):
# this exist only for django 0.96.*
django.core.management.syncdb(interactive=False, verbosity=0)