summaryrefslogtreecommitdiff
path: root/django/core/management/commands/startproject.py
AgeCommit message (Collapse)Author
2025-10-13Replaced multi-level relative imports with absolute imports in django/.lyova24
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2020-11-11Fixed #31757 -- Adjusted system check for SECRET_KEY to warn about ↵Artem Kosenko
autogenerated default keys. Thanks Nick Pope, René Fleschenberg, and Carlton Gibson for reviews.
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
2016-02-11Added a function for SECRET_KEY generation logic.Roberto Rosario
2014-06-14Converted remaining management commands to argparseClaude Paroz
2014-05-22the SECRET_KEY is not a hashThomas Grainger
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.
2012-02-23Cleanup to use get_random_string consistently.Paul McMillan
Removes several ad hoc implementations of get_random_string() and removes an innapropriate use of settings.SECRET_KEY. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
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-13Fixed #15372 -- Switched to a startproject default layout that allows us to ↵Carl Meyer
avoid sys.path hacks. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16964 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
2008-03-19Fixed #6789 -- Added some small amount of extra protection for learners tryingMalcolm Tredinnick
to pick a name for their project. Thanks, thejaswi_puthraya. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7320 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-31Fixed #5307 -- startproject/startapp now makes sure all files it creates are ↵Adrian Holovaty
writeable. Thanks, Thomas Stromberg git-svn-id: http://code.djangoproject.com/svn/django/trunk@6028 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-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