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.

Changes between Version 7 and Version 8 of administration/system-admin


Ignore:
Timestamp:
Jul 30, 2009, 6:45:07 PM (13 years ago)
Author:
hank
Comment:

dump/load data

Legend:

Unmodified
Added
Removed
Modified
  • administration/system-admin

    v7 v8  
    7979'''Dump data in database''' (assumes settings is in production skin directory)
    8080{{{
    81 python manage.py dumpdata --python-path=.. --settings=production.settings
     81python manage.py dumpdata --pythonpath=.. --settings=production.settings
     82}}}
     83
     84'''Load data from fixture (json)'''
     85{{{
     86python manage.py loaddata /home/sf/dataout.json --pythonpath=.. --settings=production.settings
    8287}}}
    8388