mld.management.commands package
Submodules
mld.management.commands.ingest_data module
This is a sample django commands script. It is used to attempt to ingest data, but this should be switched to migrations in the future. It’s attempted there but it doesn’t work.
- You run like this
python manage.py ingest_data [TABLENAME] [TABLENAME] [TABLENAME]
- class mld.management.commands.ingest_data.Command(stdout=None, stderr=None, no_color=False, force_color=False)
Bases:
BaseCommand- add_arguments(parser)
Entry point for subclassed commands to add custom arguments.
- handle(*args, **options)
The actual logic of the command. Subclasses must implement this method.
- help = 'Ingests CSV Data to tables'