ecommerce.core.management.commands package

Submodules

ecommerce.core.management.commands.populate_db module

class ecommerce.core.management.commands.populate_db.Command(stdout=None, stderr=None, no_color=False, force_color=False)

Bases: BaseCommand

Populate database with fake data.

add_arguments(parser)

Entry point for subclassed commands to add custom arguments.

handle(*args: tuple, **options: dict[str, Any])

Handle the command to populate the database with fake data.

help = 'Populate database with fake data.'

Module contents