elgeopaso.jobs.management.commands.csv2db module¶
Command used to import a CSV from a Georezo database export.
python manage.py csv2db --input-csv ./georezo/georezo_db_backup_2016-2017.csv
- class elgeopaso.jobs.management.commands.csv2db.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]¶
Bases :
django.core.management.base.BaseCommand
- args = '<foo bar ...>'¶
- create_parser(*args, **kwargs)[source]¶
Create and return the
ArgumentParser
which will be used to parse the arguments to this command.
- handle(*args, **options)[source]¶
The actual logic of the command. Subclasses must implement this method.
- help = 'Import CSV data into the project database'¶