From d22d53caf06e7b76bbdc2b772bb316dfdc236be0 Mon Sep 17 00:00:00 2001 From: Joseph Kocherhans Date: Fri, 6 Jan 2006 23:51:31 +0000 Subject: [PATCH] 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 --- django/core/management.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/django/core/management.py b/django/core/management.py index b0e54defc6..ec86d59cc5 100644 --- a/django/core/management.py +++ b/django/core/management.py @@ -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: