django_program.conference.management.commands.bootstrap_conference¶
Management command to bootstrap a conference from a TOML configuration file.
Classes
Bootstrap a conference from a TOML configuration file. |
- class django_program.conference.management.commands.bootstrap_conference.Command[source]¶
Bases:
BaseCommandBootstrap a conference from a TOML configuration file.
Parses the given TOML file, validates its structure, and creates (or updates) the corresponding
Conference,Section,TicketType, andAddOndatabase records.Usage:
manage.py bootstrap_conference --config conference.toml manage.py bootstrap_conference --config conference.toml --update manage.py bootstrap_conference --config conference.toml --dry-run
- help = 'Create or update a conference and its sections from a TOML config file.'¶