summaryrefslogtreecommitdiff
path: root/django/core/management/commands/testserver.py
AgeCommit message (Collapse)Author
2025-02-16Refs #35967 -- Deprecated BaseDatabaseCreation.create_test_db(serialize).Simon Charette
Given there are no longer any internal usages of serialize=True and it poses a risk to non-test databases integrity it seems appropriate to deprecate it.
2023-07-27Simplified call_command() calls.Nick Pope
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2020-05-21Fixed #31546 -- Allowed specifying list of tags in ↵Hasan Ramezani
Command.requires_system_checks.
2017-04-01Removed implicit default store_true/false argparse args.Jon Dufresne
argparse automatically sets the default value for store_true/false arguments to its opposite.
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-03-05Refs #26315 -- Cleaned up argparse options in commands.Jon Dufresne
* Removed type coercion. Options created by argparse are already coerced to the correct type. * Removed fallback default values. Options created by argparse already have a default value. * Used direct indexing. Options created by argparse are always set. This eliminates the need to use dict.get().
2015-09-08Fixed #25350 -- Added alias --no-input for --noinput to management commands.Raphael Michel
2015-04-04Fixed #24571 -- Restored testserver positional arguments parsingClaude Paroz
Thanks Domas Lapinskas for the report and Tim Graham for the review.
2014-09-05Limited lines to 119 characters in django/Tim Graham
refs #23395.
2014-06-14Converted remaining management commands to argparseClaude Paroz
2014-06-08Fixed #22487: Optional rollback emulation for migrated appsAndrew Godwin
2014-05-28Fixed several typos in DjangoAlex Gaynor
2014-01-20Fixed #16905 -- Added extensible checks (nee validation) frameworkRussell Keith-Magee
This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844.
2013-12-10Fixed E124 pep8 warnings.Loic Bistuer
2013-11-02More attacking E302 violatorsAlex Gaynor
2012-05-15Fixed #18019 -- Use threaded runserver only when database supports it.Claude Paroz
2011-10-23Fixed #13760 -- Cleaned up unnecessary default option handling in a bunch of ↵Julien Phalip
management commands. Thanks to Paul McMillan for the report and to adamv and Claude Paroz for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26Fixed #7735 -- Added support for IPv6 adresses to runserver and testserver ↵Jannis Leidel
management command. Thanks to Jason Alonso and Łukasz Rekucki for the report and initial patches. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21Fixed #12619 -- Added support for the --noinput flag to testserver. Thanks ↵Russell Keith-Magee
to clouserw for the suggestion, and darkrho for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-02Promoted --verbosity to be a top level option for all management commands. ↵Russell Keith-Magee
Also added -v as a consistent short form of --verbosity. This is mostly to save Malcolm's poor arthritic fingers. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-11Fixed #5461 -- Refactored the database backend code to use classes for the ↵Russell Keith-Magee
creation and introspection modules. Introduces a new validation module for DB-specific validation. This is a backwards incompatible change; see the wiki for details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-22Fixed #7847 -- Removed a whole bunch of unused imports from throughout the ↵Adrian Holovaty
codebase. Thanks, julien git-svn-id: http://code.djangoproject.com/svn/django/trunk@8046 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed #5376 -- Added --addrport option to the 'testserver' command. Thanks, ↵Adrian Holovaty
toddobryan git-svn-id: http://code.djangoproject.com/svn/django/trunk@6204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09Fixed #5369 -- Refactored the django-admin.py help system, allowing each ↵Adrian Holovaty
subcommand to register its own options. Thanks for the patch, Todd O'Bryan git-svn-id: http://code.djangoproject.com/svn/django/trunk@6075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Added 'django-admin.py testserver' command and docsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5912 bcc190cf-cafb-0310-a4f2-bffc1f526a37