1
0
mirror of https://github.com/django/django.git synced 2025-06-08 13:09:13 +00:00

magic-removal: django-admin.py init-minimal works now.

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Joseph Kocherhans 2006-01-06 23:51:31 +00:00
parent fbb47dbd9d
commit d22d53caf0

View File

@ -948,6 +948,7 @@ DEFAULT_ACTION_MAPPING = {
'createcachetable' : createcachetable,
# 'dbcheck': database_check,
'init': init,
'init-minimal': init_minimal,
'inspectdb': inspectdb,
'install': install,
'installperms': installperms,
@ -1032,7 +1033,7 @@ def execute_from_command_line(action_mapping=DEFAULT_ACTION_MAPPING):
sys.exit(1)
else:
action_mapping[action](username, email, password)
elif action in ('init', 'validate'):
elif action in ('init', 'init-minimal', 'validate'):
action_mapping[action]()
elif action == 'inspectdb':
try: