| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-12-31 | Fixed #23372 -- Made loaddata faster if it doesn't find any fixtures. | Anssi Kääriäinen | |
| Django's test suite often tries to load fixture files from apps that have no fixtures at all. This creates a lot of unnecessary disabling and enabling of constraints which can be expensive on some database. To speed this up, loaddata now first checks if any fixture file matches. If no fixture file is matched, then the command exits before disabling and enabling of constraints is done. The main benefit of this change is seen on MSSQL, where tests on Django 1.8 run hours faster. | |||
| 2015-12-22 | Fixed #25838 -- Added "python" as an interface to the shell command. | Jon Dufresne | |
| Deprecates the "--plain" option. | |||
| 2015-12-21 | Fixed #25958 -- Removed support for 'skip_validation' in ↵ | Tim Graham | |
| BaseCommand.execute(**options). | |||
| 2015-12-21 | Fixed #25855 -- Enhanced the migration warning for runserver. | Emre Yilmaz | |
| Added unapplied migration count and the list of unmigrated apps. | |||
| 2015-12-18 | Fixed #25063 -- Added path to makemigration's output of migration file. | Niels Van Och | |
| 2015-12-03 | Fixed many spelling mistakes in code, comments, and docs. | Josh Soref | |
| 2015-11-25 | Fixed #25274 --- Made inspectdb handle renamed fields in unique_together. | Jacek Bzdak | |
| 2015-11-19 | Fixed #25677 -- Prevented decoding errors in/after Popen calls | Claude Paroz | |
| Thanks Gavin Wahl for the report and Tim Graham for the review. | |||
| 2015-11-18 | Removed redundant termcolors. | Tim Graham | |
| Replaced MIGRATE_SUCCESS and MIGRATE_FAILURE with SUCCESS and ERROR. | |||
| 2015-11-17 | Simplified lists creation in three places. | Dmitry Dygalo | |
| 2015-11-14 | Made BaseCommand.get_version() docstring consistent with docs. | Baptiste Mispelon | |
| 2015-10-25 | Removed hardcoded utf-8 BOM, used value from codecs instead. | Jon Dufresne | |
| 2015-10-24 | Fixed #25604 -- Added makemigrations --check option. | Jon Dufresne | |
| Command exits with non-zero status if changes without migrations exist. | |||
| 2015-10-22 | Fixed #25589 -- Allowed startapp/project to create apps with Unicode ↵ | Yoong Kang Lim | |
| characters in the name. | |||
| 2015-10-18 | Fixed #25510 -- Allowed runserver to start with incorrect INSTALLED_APPS. | Aymeric Augustin | |
| In that case, the content of INSTALLED_APPS will be ignored until it's fixed and the autoreloader kicks in. I confirmed this behavior manually. As explained on the ticket it's hard to write a test for this case | |||
| 2015-10-05 | Fixed #25500 -- Added --fail-level option to check command. | Jon Dufresne | |
| This option specifies the level that check command exits with a non-zero status. Default is ``ERROR``. | |||
| 2015-10-03 | Fixed #25483 -- Allowed passing non-string arguments to call_command | Claude Paroz | |
| Thanks KS Chan for the report and Tim Graham for the review. | |||
| 2015-09-23 | Refs #22835 -- Removed NoArgsCommand per deprecation timeline. | Tim Graham | |
| 2015-09-23 | Refs #23359 -- Removed the migrate --list option per deprecation timeline. | Tim Graham | |
| 2015-09-23 | Refs #19973 -- Removed optparse support in management commands per ↵ | Tim Graham | |
| deprecation timeline. | |||
| 2015-09-19 | Fixed #25390 -- Allowed specifying a start migration in squashmigrations | Markus Holtermann | |
| Thanks Tim Graham for the review. | |||
| 2015-09-15 | Added upgrade tip in BaseCommand.option_list deprecation comment. | Daniel Hahler | |
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-09-09 | Allowed a port range for the liveserver by default. | Aymeric Augustin | |
| This is required for running tests in parallel. | |||
| 2015-09-09 | Fixed #25372 -- Fixed autocompletion for options of non-argparse commands. | Daniel Hahler | |
| 2015-09-08 | Fixed #25350 -- Added alias --no-input for --noinput to management commands. | Raphael Michel | |
| 2015-09-04 | Fixed #25144 -- Allowed migrate to create tables for apps without migrations. | Tim Graham | |
| 2015-08-31 | Fixed #25331 -- Removed trailing blank lines in docstrings. | Maxime Lorant | |
| 2015-08-29 | Fixed #24704 -- Made the autoreloader survive SyntaxErrors. | Aymeric Augustin | |
| With this change, it's expected to survive anything except errors that make it impossible to import the settings. It's too complex to fallback to a sensible behavior with a broken settings module. Harcoding things about runserver in ManagementUtility.execute is atrocious but it's the only way out of the chicken'n'egg problem: the current implementation of the autoreloader primarily watches imported Python modules -- and then a few other things that were bolted on top of this design -- but we want it to kick in even if the project contains import-time errors and django.setup() fails. At some point we should throw away this code and replace it by an off-the-shelf autoreloader that watches the working directory and re-runs `django-admin runserver` whenever something changes. | |||
| 2015-08-28 | Fixed #17375 -- Changed makemessages to use xgettext with --files-from | Sergey Kolosov | |
| Changed the way makemessages invokes xgettext from one call per translatable file to one call per locale directory (using --files-from). This allows to avoid https://savannah.gnu.org/bugs/index.php?35027 and, as a positive side effect, speeds up localization build. | |||
| 2015-08-28 | Fixed #25318 -- Made SILENCED_SYSTEM_CHECKS suppress all messages. | Tim Graham | |
| Previously, messages of ERROR level or higher were printed to the console. | |||
| 2015-08-24 | Fixed #25047 -- Improved "Conflicting migrations" error message. | Tim Graham | |
| 2015-08-19 | Fixed #25285 -- Provided unknown command message with plain django-admin.py | Claude Paroz | |
| Thanks Maxime Lorant for the report and Tim Graham for suggesting the improved comment. | |||
| 2015-08-18 | Fixed #24755 -- Hid operations from dependency apps when merging migrations | Markus Holtermann | |
| Thanks Carl Meyer for the report and Tim Graham for the review. | |||
| 2015-08-07 | Fixed #25231 -- Added recording of squashed migrations in the migrate command. | mlavin | |
| Ensured squashed migrations are recorded as applied when the migrate command is run and all of the original migrations have been previously applied. | |||
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-07-24 | Fixed #22258 -- Added progress status for dumpdata when outputting to file | Claude Paroz | |
| Thanks Gwildor Sok for the report and Tim Graham for the review. | |||
| 2015-07-21 | Fixed #25155 -- Removed an inner class in core.management.color for PyPy ↵ | Tim Graham | |
| performance. | |||
| 2015-07-14 | Fixed #25123 -- Corrected makemessages --extension help text | Cesar Canassa | |
| 2015-07-13 | Fixed #24375 -- Added Migration.initial attribute | Andrei Kulakov | |
| The new attribute is checked when the `migrate --fake-initial` option is used. initial will be set to True for all initial migrations (this is particularly useful when initial migrations are split) as well as for squashed migrations. | |||
| 2015-06-27 | Sorted imports in __init__.py files. | Tim Graham | |
| 2015-06-24 | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | |
| Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | |||
| 2015-06-22 | Fixed #24970 -- Added --managers and --admins options to the sendtestemail ↵ | Rolo | |
| management command. | |||
| 2015-06-16 | Fixed #24971 -- Made startapp generate an apps.py | Mounir Messelmeni | |
| 2015-06-15 | Removed django.utils.functional.total_ordering() | Tim Graham | |
| 2015-06-13 | Fixed #24978 -- Escaped special characters in loaddata fixture paths | Moritz Sichert | |
| 2015-06-11 | Fixed #24950 -- Added unicode_literals to models.py in app template | Markus Holtermann | |
| Thanks Tim Graham for the patch | |||
| 2015-06-09 | Fixed #24769 -- Cast optparse verbosity argument to an integer for better ↵ | Rivo Laks | |
| backwards compatibility. Using `BaseCommand.options_list` makes Django use the legacy optparse parser, which does not set the verbosity attribute correctly. Now the verbosity argument is always cast to int. Regression in 8568638 (#19973). Initial report and patch from blueyed. | |||
| 2015-06-04 | Fixed #24159 -- Made compilemessages run across all apps. | Matthew Somerville | |
| Updated the command to match the documentation, which states it runs over all .po files. | |||
| 2015-05-22 | Fixed #24776 -- Improved apps.get_app_config() error message on ↵ | Peter Inglesby | |
| fully-qualified package names. | |||
