summaryrefslogtreecommitdiff
path: root/django/core/management/commands/startapp.py
AgeCommit message (Collapse)Author
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2017-05-30DRY'd startapp and startproject management commands.Adam Johnson
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2014-06-14Converted remaining management commands to argparseClaude Paroz
2013-07-29Deprecated django.utils.importlibClaude Paroz
This was a shim for pre-Python 2.7 support.
2013-01-24Fixed #19125 -- The startproject command should validate the name earlierClaude Paroz
Thanks Łukasz Rekucki for the report and the patch.
2011-12-22Fixed #17042 -- Extended startproject and startapp management commands to ↵Jannis Leidel
better handle custom app and project templates. Many thanks to Preston Holmes for his initial patch and Alex Gaynor, Carl Meyer, Donald Stufft, Jacob Kaplan-Moss and Julien Phalip for code reviewing. * Added ability to pass the project or app directory path as the second argument * Added ``--template`` option for specifying custom project and app templates * Cleaned up admin_scripts tests a little while I was there git-svn-id: http://code.djangoproject.com/svn/django/trunk@17246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-24Fixed #17099 -- Removed an out-of-date warning and some unused code, now ↵Carl Meyer
that startapp doesn't require creating app inside project. Thanks ptone for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-18Fixed #8193: all dynamic imports in Django are now done correctly. I know ↵Jacob Kaplan-Moss
this because Brett Cannon borrowed the time machine and brought Python 2.7's '`importlib` back for inclusion in Django. Thanks for the patch-from-the-future, Brett! git-svn-id: http://code.djangoproject.com/svn/django/trunk@10088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16Fixed #6654 -- Slightly refactored the way 'startproject' and 'startapp' ↵Adrian Holovaty
check for existing Python modules. Thanks, i_i git-svn-id: http://code.djangoproject.com/svn/django/trunk@7652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-27Wrapped some long lines and orginized imports.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-27Fixed #5824 -- For the `startapp` command, pass the true project name to the ↵Gary Wilson Jr
`copy_helper` function instead of the name of the project's parent directory. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-06Refs #5690 -- Changed path joining to use `os.pardir` instead of `'..'`.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Fixed bug in django.core.management.base.copy_helper, related to refactoring ↵Adrian Holovaty
in [5903] git-svn-id: http://code.djangoproject.com/svn/django/trunk@5907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Improved error handling for management.py commands, especially for no ↵Russell Keith-Magee
argument or non-applabel argument commands. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Fixed #5179 -- Added missing kwargs to startapp command. Thanks for the ↵Russell Keith-Magee
report, Vsevolod Solovyov <vsevolod.solovyov@gmail.com>. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Major refactoring of django.core.management -- it's now a package rather ↵Adrian Holovaty
than a 1730-line single module. All django-admin/manage.py commands are now stored in separate modules. This is backwards-incompatible for people who used django.core.management functions directly git-svn-id: http://code.djangoproject.com/svn/django/trunk@5898 bcc190cf-cafb-0310-a4f2-bffc1f526a37