close
Warning:
Can't synchronize with repository "(default)" (/usr/svn/silverfile does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jul 30, 2009, 7:16:53 PM (14 years ago)
- Author:
-
hank
- Comment:
-
dumpdata/loaddata django
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v8
|
v9
|
|
87 | 87 | }}} |
88 | 88 | |
| 89 | Alternatively you can load data in with syncdb. Recreate the MySQL db and move the fixture |
| 90 | into files/common/fixtures/ naming it '''initial_data.json'''. Then run: |
| 91 | {{{ |
| 92 | python manage.py syncdb --pythonpath=.. --settings=production.settings |
| 93 | }}} |
89 | 94 | |
90 | 95 | |
| 96 | |
| 97 | |