mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +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:
		| @@ -948,6 +948,7 @@ DEFAULT_ACTION_MAPPING = { | |||||||
|     'createcachetable' : createcachetable, |     'createcachetable' : createcachetable, | ||||||
| #     'dbcheck': database_check, | #     'dbcheck': database_check, | ||||||
|     'init': init, |     'init': init, | ||||||
|  |     'init-minimal': init_minimal, | ||||||
|     'inspectdb': inspectdb, |     'inspectdb': inspectdb, | ||||||
|     'install': install, |     'install': install, | ||||||
|     'installperms': installperms, |     'installperms': installperms, | ||||||
| @@ -1032,7 +1033,7 @@ def execute_from_command_line(action_mapping=DEFAULT_ACTION_MAPPING): | |||||||
|                 sys.exit(1) |                 sys.exit(1) | ||||||
|         else: |         else: | ||||||
|             action_mapping[action](username, email, password) |             action_mapping[action](username, email, password) | ||||||
|     elif action in ('init', 'validate'): |     elif action in ('init', 'init-minimal', 'validate'): | ||||||
|         action_mapping[action]() |         action_mapping[action]() | ||||||
|     elif action == 'inspectdb': |     elif action == 'inspectdb': | ||||||
|         try: |         try: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user