Command¶
This module contains command for create files types and files extensions in FileExtension and FileTypes tables from storageapp
- class times.management.commands.create_times_tables.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]¶
Bases:
BaseCommandThis class contains command for create files types and files extensions in FileExtension and FileTypes tables from storageapp.
The class has the following attributes:
help (str): A message that is displayed when you this command
- handle(*args, **options)[source]¶
The handle function is the entry point for a Django management command.
- Returns:
A string that is printed in the console
- help = "use 'python manage.py create_times_tables' to create tables"¶