Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/core/management
Commit message (Collapse)AuthorAgeFilesLines
* Removed hardcoded utf-8 BOM, used value from codecs instead.Jon Dufresne2015-10-251-2/+1
|
* Fixed #25604 -- Added makemigrations --check option.Jon Dufresne2015-10-241-6/+17
| | | | Command exits with non-zero status if changes without migrations exist.
* Fixed #25589 -- Allowed startapp/project to create apps ↵Yoong Kang Lim2015-10-221-8/+15
| | | | with Unicode characters in the name.
* Fixed #25510 -- Allowed runserver to start with ↵Aymeric Augustin2015-10-181-4/+7
| | | | | | | | incorrect INSTALLED_APPS. 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
* Fixed #25500 -- Added --fail-level option to check command.Jon Dufresne2015-10-052-2/+13
| | | | | This option specifies the level that check command exits with a non-zero status. Default is ``ERROR``.
* Fixed #25483 -- Allowed passing non-string arguments to ↵Claude Paroz2015-10-031-1/+2
| | | | | | call_command Thanks KS Chan for the report and Tim Graham for the review.
* Refs #22835 -- Removed NoArgsCommand per deprecation ↵Tim Graham2015-09-241-34/+0
| | | | timeline.
* Refs #23359 -- Removed the migrate --list option per ↵Tim Graham2015-09-241-23/+0
| | | | deprecation timeline.
* Refs #19973 -- Removed optparse support in management ↵Tim Graham2015-09-243-106/+38
| | | | commands per deprecation timeline.
* Fixed #25390 -- Allowed specifying a start migration in ↵Markus Holtermann2015-09-191-15/+44
| | | | | | squashmigrations Thanks Tim Graham for the review.
* Added upgrade tip in BaseCommand.option_list deprecation ↵Daniel Hahler2015-09-151-0/+1
| | | | comment.
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-1/+4
|
* Allowed a port range for the liveserver by default.Aymeric Augustin2015-09-091-1/+1
| | | | This is required for running tests in parallel.
* Fixed #25372 -- Fixed autocompletion for options of ↵Daniel Hahler2015-09-091-1/+1
| | | | non-argparse commands.
* Fixed #25350 -- Added alias --no-input for --noinput to ↵Raphael Michel2015-09-086-6/+11
| | | | management commands.
* Fixed #25144 -- Allowed migrate to create tables for ↵Tim Graham2015-09-041-0/+2
| | | | apps without migrations.
* Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant2015-08-311-11/+0
|
* Fixed #24704 -- Made the autoreloader survive SyntaxErrors.Aymeric Augustin2015-08-292-2/+19
| | | | | | | | | | | | | | | | | 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.
* Fixed #17375 -- Changed makemessages to use xgettext ↵Sergey Kolosov2015-08-281-104/+197
| | | | | | | | | with --files-from 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.
* Fixed #25318 -- Made SILENCED_SYSTEM_CHECKS suppress all ↵Tim Graham2015-08-281-2/+2
| | | | | | | messages. Previously, messages of ERROR level or higher were printed to the console.
* Fixed #25047 -- Improved "Conflicting migrations" error ↵Tim Graham2015-08-242-2/+4
| | | | message.
* Fixed #25285 -- Provided unknown command message with ↵Claude Paroz2015-08-191-2/+8
| | | | | | | plain django-admin.py Thanks Maxime Lorant for the report and Tim Graham for suggesting the improved comment.
* Fixed #24755 -- Hid operations from dependency apps when ↵Markus Holtermann2015-08-181-1/+5
| | | | | | merging migrations Thanks Carl Meyer for the report and Tim Graham for the review.
* Fixed #25231 -- Added recording of squashed migrations ↵mlavin2015-08-071-0/+1
| | | | | | | | in the migrate command. Ensured squashed migrations are recorded as applied when the migrate command is run and all of the original migrations have been previously applied.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-0/+4
| | | | on_delete for ForeignKey/OneToOneField
* Fixed #22258 -- Added progress status for dumpdata when ↵Claude Paroz2015-07-242-6/+22
| | | | | | outputting to file Thanks Gwildor Sok for the report and Tim Graham for the review.
* Fixed #25155 -- Removed an inner class in ↵Tim Graham2015-07-211-2/+4
| | | | core.management.color for PyPy performance.
* Fixed #25123 -- Corrected makemessages --extension help textCesar Canassa2015-07-141-1/+1
|
* Fixed #24375 -- Added Migration.initial attributeAndrei Kulakov2015-07-131-0/+1
| | | | | | | 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.
* Sorted imports in __init__.py files.Tim Graham2015-06-271-3/+4
|
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-242-7/+7
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Fixed #24970 -- Added --managers and --admins options to ↵Rolo2015-06-221-5/+18
| | | | the sendtestemail management command.
* Fixed #24971 -- Made startapp generate an apps.pyMounir Messelmeni2015-06-161-0/+3
|
* Removed django.utils.functional.total_ordering()Tim Graham2015-06-151-1/+2
|
* Fixed #24978 -- Escaped special characters in loaddata ↵Moritz Sichert2015-06-141-1/+3
| | | | fixture paths
* Fixed #24950 -- Added unicode_literals to models.py in ↵Markus Holtermann2015-06-111-1/+2
| | | | | | app template Thanks Tim Graham for the patch
* Fixed #24769 -- Cast optparse verbosity argument to an ↵Rivo Laks2015-06-101-2/+5
| | | | | | | | | | integer for better 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.
* Fixed #24159 -- Made compilemessages run across all apps.Matthew Somerville2015-06-051-0/+6
| | | | | Updated the command to match the documentation, which states it runs over all .po files.
* Fixed #24776 -- Improved apps.get_app_config() error ↵Peter Inglesby2015-05-221-6/+6
| | | | message on fully-qualified package names.
* Fixed #24805 -- Delayed check for locale_dir in makemessagesClaude Paroz2015-05-181-2/+6
| | | | Thanks Wim Feijen for the report.
* Removed unnecessary arguments in .get method callsPiotr Jakimiak2015-05-132-3/+3
|
* Fixed #24742 -- Made runserver.check_migrations ignore ↵Claude Paroz2015-05-131-5/+13
| | | | | | | read-only databases Thanks Luis Del Giudice for the report, and Aymeric Augustin and Markus Holtermann for the reviews.
* Allowed runserver sublcasses to easily override the ↵Matt Robenolt2015-05-121-2/+4
| | | | default port.
* Fixed #23271 -- Fixed makemessages crash/test failure ↵daphshez2015-05-012-10/+13
| | | | for some locales.
* Fixed #24703 -- Changed squashmigrations to use a ↵Marten Kenbeek2015-04-251-7/+6
| | | | | | | MigrationLoader Changed squashmigrations to not instantiate a MigrationExecutor, but to directly use a MigrationLoader instance instead.
* Fixed #23879 -- Allowed model migration skip based on ↵Claude Paroz2015-04-181-1/+1
| | | | | | | feature/vendor Thanks Carl Meyer for the report and review, and Tim Graham for the review.
* Fixed #21652 -- Added notification when processing ↵Yitzhak Clark2015-04-161-1/+8
| | | | | | | objects in loaddata Added a running count of the objects processed by loaddata when verbosity >= 3.
* Added missing periods in migrate help messages.Joe Borg2015-04-141-2/+2
|
* Fixed #24560 -- Added a --dry-run mode to the ↵Adam Chainz2015-04-091-4/+16
| | | | createcachetable command.
* Fixed #24571 -- Restored testserver positional arguments ↵Claude Paroz2015-04-041-1/+0
| | | | | | | parsing Thanks Domas Lapinskas for the report and Tim Graham for the review.