summaryrefslogtreecommitdiff
path: root/django/core/management
AgeCommit message (Collapse)Author
2015-05-18Fixed #24805 -- Delayed check for locale_dir in makemessagesClaude Paroz
Thanks Wim Feijen for the report.
2015-05-13Removed unnecessary arguments in .get method callsPiotr Jakimiak
2015-05-13Fixed #24742 -- Made runserver.check_migrations ignore read-only databasesClaude Paroz
Thanks Luis Del Giudice for the report, and Aymeric Augustin and Markus Holtermann for the reviews.
2015-05-12Allowed runserver sublcasses to easily override the default port.Matt Robenolt
2015-05-01Fixed #23271 -- Fixed makemessages crash/test failure for some locales.daphshez
2015-04-25Fixed #24703 -- Changed squashmigrations to use a MigrationLoaderMarten Kenbeek
Changed squashmigrations to not instantiate a MigrationExecutor, but to directly use a MigrationLoader instance instead.
2015-04-18Fixed #23879 -- Allowed model migration skip based on feature/vendorClaude Paroz
Thanks Carl Meyer for the report and review, and Tim Graham for the review.
2015-04-16Fixed #21652 -- Added notification when processing objects in loaddataYitzhak Clark
Added a running count of the objects processed by loaddata when verbosity >= 3.
2015-04-14Added missing periods in migrate help messages.Joe Borg
2015-04-09Fixed #24560 -- Added a --dry-run mode to the createcachetable command.Adam Chainz
2015-04-04Fixed #24571 -- Restored testserver positional arguments parsingClaude Paroz
Thanks Domas Lapinskas for the report and Tim Graham for the review.
2015-04-01Removed unused import in makemessagesClaude Paroz
2015-04-01Refs #24500 -- Avoided locale.getpreferredencoding in makemessagesClaude Paroz
Fixes a regression introduced in 53c2cf1e.
2015-03-21Fixed #24500 -- Fixed makemessages encoding problems retrieving gettext version.Pakal
2015-03-20Removed unused imports.Tim Graham
2015-03-20Adapted sendtestemail to be more argparse-ishClaude Paroz
2015-03-20Fixed #24419 -- Added sendtestemail management commandLoek van Gent
2015-03-16Fixed #24427 -- Stopped writing migration files in dry run mode when merging.John Giannelos
Also added display of migration to stdout when verbosity=3.
2015-03-13Fed tuples to startswith when appropriateClaude Paroz
2015-03-09Made runserver use leave_locale_aloneClaude Paroz
2015-03-08Fixed #23407 -- Extended coverage of makemigrations --noinput option.Marten Kenbeek
Changed --noinput option in makemigrations to suppress all user prompts, not just when combined with --merge.
2015-03-05Fixed #24369 -- Prevented crash when flushing before db migrationClaude Paroz
Thanks Thomas Tanner for the report and Tim Graham for the review.
2015-02-28Simplified emit_post_migrate from flush commandClaude Paroz
Follow-up of f4f24d30e0.
2015-02-28Revert "Fixed #24369 -- Prevented crash when `flush`ing before db migration"Claude Paroz
This reverts commit 9f1dbe29c0dbae57ff7950f3f64a0d083177cca8. The proposed solution does not pass the test suite.
2015-02-28Fixed #24369 -- Prevented crash when `flush`ing before db migrationClaude Paroz
Thanks Thomas Tanner for the report.
2015-02-22Fixed a few uses of Template that relied on a default engine.Aymeric Augustin
Refs #24389.
2015-02-22Removed rmtree_errorhandler.Aymeric Augustin
The stated reason for its introduction in d18d37ce no longer applies since Django's code repository was switched from Subversion to git. Furthermore it never had any effect because shutil.rmtree ignores its onerror argument when ignore_errors is True. The reason for its use in template management commands is unclear.
2015-02-20Fixed #24351, #24346 -- Changed the signature of allow_migrate().Loic Bistuer
The new signature enables better support for routing RunPython and RunSQL operations, especially w.r.t. reusable and third-party apps. This commit also takes advantage of the deprecation cycle for the old signature to remove the backward incompatibility introduced in #22583; RunPython and RunSQL won't call allow_migrate() when when the router has the old signature. Thanks Aymeric Augustin and Tim Graham for helping shape up the patch. Refs 22583.
2015-02-17Refs #24324 -- Fixed makemessages crash when Django is installed in a ↵Tim Graham
non-ASCII path.
2015-02-17Refs #24324 -- Fixed management command discovery on non-ASCII paths.Tim Graham
2015-02-13Fixed #24184 -- Prevented automatic soft-apply of migrationsMarkus Holtermann
Previously Django only checked for the table name in CreateModel operations in initial migrations and faked the migration automatically. This led to various errors and unexpected behavior. The newly introduced --fake-initial flag to the migrate command must be passed to get the same behavior again. With this change Django will bail out in with a "duplicate relation / table" error instead. Thanks Carl Meyer and Tim Graham for the documentation update, report and review.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2015-01-19Refs #16905 -- Replaced call to removed method in runserverR3v1L
Regression introduced in 0f169098efd099fd7ae13bd8e14b798530d74da7
2015-01-18Removed support for syncing apps without migrations per deprecation timeline.Tim Graham
Kept support for creating models without migrations when running tests (especially for Django's test suite).
2015-01-18Removed BaseCommand.validate() per deprecation timeline; refs #16905.Tim Graham
2015-01-17Removed dumpdata --natural option and serializers use_natural_keys parameter.Tim Graham
Per deprecation timeline; refs #13252.
2015-01-17Removed the validate management command per deprecation timeline.Tim Graham
2015-01-17Removed unused imports from previous commit.Tim Graham
2015-01-17Removed BaseCommand.requires_model_validation per deprecation timeline.Tim Graham
2015-01-17Removed support for AppCommand.handle_app() per deprecation timeline.Tim Graham
2015-01-17Required sqlparse for SQL splitting per deprecation timeline.Tim Graham
2015-01-17Removed support for custom SQL per deprecation timeline.Tim Graham
2015-01-17Removed support for initial_data fixtures per deprecation timeline.Tim Graham
2015-01-17Removed the syncdb command per deprecation timeline.Tim Graham
2015-01-17Removed pre_syncdb and post_syncdb signals per deprecation timeline.Tim Graham
2015-01-17Removed compatibility with Python 3.2.Tim Graham
2015-01-17Removed FastCGI support per deprecation timeline; refs #20766.Tim Graham
2015-01-14Removed unused importClaude Paroz
2015-01-12Fixed #17785 -- Preferred column names in get_relations introspectionClaude Paroz
Thanks Thomas Güttler for the report and the initial patch, and Tim Graham for the review.