| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-05-10 | Fixed #35429 -- Added argparse choices to --database options. | SaJH | |
| 2024-01-26 | Applied Black's 2024 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/24.1.0 | |||
| 2023-08-08 | Fixed #34542 -- Made createsuperuser handle required blank fields in ↵ | Mateusz Więckowski | |
| non-interactive mode. | |||
| 2022-09-27 | Completed test coverage for createsuperuser command. | Marcelo Galigniana | |
| 2022-04-01 | Fixed #33613 -- Made createsuperuser detect uniqueness of USERNAME_FIELD ↵ | Lucidiot | |
| when using Meta.constraints. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-10-12 | Fixed #33178 -- Made createsuperuser validate required fields passed in ↵ | Christophe Henry | |
| options in interactive mode. | |||
| 2021-10-12 | Refs #21755 -- Fixed createsuperuser crash for required foreign keys passed ↵ | Christophe Henry | |
| in options in interactive mode. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-10-12 | Refs #29628, Refs #33178 -- Made createsuperuser validate password against ↵ | Mariusz Felisiak | |
| required fields passed in options. | |||
| 2021-10-07 | Fixed #33151 -- Fixed createsuperuser crash for many-to-many required fields ↵ | Christophe Henry | |
| in non-interactive mode. | |||
| 2020-08-14 | Fixed #31878 -- Made createsuperuser respect --database option in default ↵ | Yan Mitrofanov | |
| usernames. | |||
| 2020-06-01 | Reverted "Refs #23919 -- Removed obsolete __init__.py files in management ↵ | René Fleschenberg | |
| command directories." This reverts commit ccc25bfe4f0964a00df3af6f91c2d9e20159a0c2. https://groups.google.com/d/topic/django-developers/GVHMH2ciAnk/discussion | |||
| 2020-05-21 | Fixed #31546 -- Allowed specifying list of tags in ↵ | Hasan Ramezani | |
| Command.requires_system_checks. | |||
| 2020-04-27 | Refs #18325 -- Removed unnecessary line endings in management commands. | François Freitag | |
| The OutputWrapper automatically adds \n when it’s not present. | |||
| 2019-08-26 | Fixed #29019 -- Added ManyToManyField support to REQUIRED_FIELDS. | Hasan Ramezani | |
| 2019-07-02 | Fixed #27801 -- Made createsuperuser fall back to environment variables for ↵ | Hasan Ramezani | |
| password and required fields. | |||
| 2018-08-05 | Fixed #29616 -- Fixed createsuperuser for user models that don't have a ↵ | Josh Schneier | |
| password field. | |||
| 2018-08-04 | Made createsuperuser code more DRY. | Josh Schneier | |
| 2018-08-04 | Fixed #29628 -- Made createsuperuser validate password against username and ↵ | Josh Schneier | |
| required fields. | |||
| 2018-07-02 | Removed parser.add_arguments() arguments that match the defaults. | Claude Paroz | |
| 2018-05-29 | Fixed #28044 -- Unified the logic for createsuperuser's interactive and ↵ | Dohyeon Kim | |
| --noinput modes. | |||
| 2018-01-03 | Refs #23919 -- Removed obsolete __init__.py files in management command ↵ | я котик пур-пур | |
| directories. | |||
| 2017-11-03 | Fixed #28571 -- Added a prompt to bypass password validation in createsuperuser. | Tom | |
| 2017-10-09 | Fixed #28591 -- Added an error message for createsuperuser --username= (blank). | Hasan Ramezani | |
| 2017-06-16 | Fixed #27787 -- Made call_command() validate the options it receives. | Chandrakant Kumar | |
| 2017-04-01 | Removed implicit default store_true/false argparse args. | Jon Dufresne | |
| argparse automatically sets the default value for store_true/false arguments to its opposite. | |||
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-20 | Refs #23919 -- Removed unneeded force_str calls | Claude Paroz | |
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-11-25 | Fixed #25966 -- Made get_user_model() work at import time. | Aymeric Augustin | |
| This makes it equivalent to: `from django.contrib.auth.models import User`. Thanks Aymeric Augustin for the initial patch and Tim Graham for the review. | |||
| 2016-04-08 | Fixed E128 flake8 warnings in django/. | Tim Graham | |
| 2016-03-05 | Refs #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(). | |||
| 2016-02-12 | Fixed #25304 -- Allowed management commands to check if migrations are applied. | Mounir Messelmeni | |
| 2015-09-24 | Fixed #25457 -- Improved formatting of password validation errors in ↵ | Tzu-ping Chung | |
| management command output. | |||
| 2015-09-08 | Fixed #25350 -- Added alias --no-input for --noinput to management commands. | Raphael Michel | |
| 2015-08-01 | Fixed #25089 -- Added password validation to createsuperuser/changepassword. | Alex Becker | |
| 2015-08-01 | Removed unnecessary if statement in createsuperuser command. | Tim Graham | |
| 2015-06-06 | Fixed #24910 -- Added createsuperuser support for non-unique USERNAME_FIELDs | Alasdair Nicol | |
| Clarified docs to say that a non-unique USERNAME_FIELD is permissable as long as the custom auth backend can support it. | |||
| 2015-05-13 | Removed unnecessary arguments in .get method calls | Piotr Jakimiak | |
| 2015-03-25 | Renamed Field.rel attribute to remote_field | Anssi Kääriäinen | |
| Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True. | |||
| 2014-09-08 | Use "catch" instead of "trap" for exceptions. | Aymeric Augustin | |
| This is the idiomatic word in the Python world. | |||
| 2014-09-05 | Limited lines to 119 characters in django/ | Tim Graham | |
| refs #23395. | |||
| 2014-07-08 | Fixed #21832 -- Updated prompt, tests, and docs to show that USERNAME_FIELD ↵ | Anubhav Joshi | |
| supports FK after 9bc2d76. Also added get_input_data() hook in createsuperuser. Thanks Chris Jerdonek and Tim Graham for review. | |||
| 2014-07-03 | Fixed #21755 -- Added ForeignKey support to REQUIRED_FIELDS. | Anubhav Joshi | |
| This allows specifying ForeignKeys in REQUIRED_FIELDS when using a custom User model. Thanks cjerdonek and bmispelon for suggestion and timgraham for review. | |||
| 2014-06-14 | Converted remaining management commands to argparse | Claude Paroz | |
| 2014-04-10 | Fixed #22364 -- Sanitized getpass input in changepassword. | John Paulett | |
| Python 2 getpass on Windows does not accept unicode, even when containing on ASCII characters. Related #190807. | |||
| 2014-02-18 | Removed BaseCommand.stdin introduced in ↵ | Baptiste Mispelon | |
| 116d39842dab2569013856e9f3701a7cb6554f09. This option is not actually very useful in the general case because it doesn't override sys.stdin. It's still marginally useful for testing some features of the createsuperuser command so it was moved there. This commit also makes the detection of a TTY in createsuperuser a bit more robust, after a suggestion of appolo13. | |||
| 2014-02-17 | Fixed #7423 -- Skip superuser creation when not running in a TTY. | Baptiste Mispelon | |
| Thanks to trac user galaxy4sale for the original report and to AeroNotix for the patch. | |||
