useful_inkleby.useful_django.management.commands package

Submodules

useful_inkleby.useful_django.management.commands.bake module

class useful_inkleby.useful_django.management.commands.bake.Command(stdout=None, stderr=None, no_color=False)[source]

Bases: django.core.management.base.BaseCommand

example usage:

manage.py bake manage.py bake appname

When it examines an app will look for:

A bake.py with a bake function A views module with a BakeManager subclassed from BaseBakeManager A views module using views subclassed from BakeView

add_arguments(parser)[source]
handle(*args, **options)[source]
help = 'Enter an app to bake, or no app label to bake all apps'

useful_inkleby.useful_django.management.commands.populate module

class useful_inkleby.useful_django.management.commands.populate.Command(stdout=None, stderr=None, no_color=False)[source]

Bases: django.core.management.base.BaseCommand

Example usage:

manage.py populate manage.py populate appname

Looks for an app/populate.py and runs a populate function

add_arguments(parser)[source]
handle(*args, **options)[source]
help = 'Enter an app to populate'

Module contents