mirror of
https://github.com/django/django.git
synced 2025-07-04 17:59:13 +00:00
magic-removal: Added docstring copying to the startapp lambda to prevent a crash in manage.py introduced in r2671.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
551536a82c
commit
1735b0cf69
@ -1204,6 +1204,7 @@ def execute_manager(settings_mod):
|
||||
# Override the startapp handler so that it always uses the
|
||||
# project_directory, not the current working directory (which is default).
|
||||
action_mapping['startapp'] = lambda app_name, directory: startapp(app_name, project_directory)
|
||||
action_mapping['startapp'].__doc__ = startapp.__doc__
|
||||
action_mapping['startapp'].help_doc = startapp.help_doc
|
||||
action_mapping['startapp'].args = startapp.args
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user