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:
parent
fbb47dbd9d
commit
d22d53caf0
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user