class Command(BaseCommand):
+ help = 'Dump the database to three json files. The json format is expected by the import_json management command.'
month = datetime.datetime.now().month
day = datetime.datetime.now().day
year = datetime.datetime.now().year
class Command(BaseCommand):
args = 'all [clean]'
- help = """Import data to the database from .json.
+ help = """Import data to the database from .json. Expect the json in the
+ format exported by the dump_json manage command.
The 'all' argument is required. When the 'all' argument is used,
import_json expects the following files:
- schools.json