summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
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-08Fixed #23173 -- Fixed incorrect stripping of SCRIPT_URLBas Peschier
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-19Fixed typo in django.core.servers.basehttp message.Alex Vidal
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 #24320 - Used field.value_to_string() in serialization of foreign key.Andriy Sokolovskiy
This fixes serialization of a ForeignKey to a UUIDField as the test indicates.
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-09Removed Django 1.7 MIDDLEWARE_CLASSES upgrade check.Tim Graham
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-05Removed old import aliases.Tim Graham
2015-02-05Simplified handling of RegexURLResolver.urlconf_module.Aymeric Augustin
Also made RegexURLResolver.url_patterns a cached property for consistency and efficiency.
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2015-01-28Fixed #24137 -- Switched to HTTP reason phrases from Python stdlib.Jon Dufresne
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 BaseMemcachedCacheMethods._get_memcache_timeout backwards ↵Tim Graham
compatibility shim. Per deprecation timeline; refs #21147.
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 django.core.cache.get_cache() per deprecation timeline; refs #21012.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-17Removed request.REQUEST per deprecation timeline; refs #18659.Tim Graham
2015-01-14Removed unused importClaude Paroz
2015-01-13Stripped headers containing underscores to prevent spoofing in WSGI environ.Carl Meyer
This is a security fix. Disclosure following shortly. Thanks to Jedediah Smith for the report.
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.
2015-01-12Fixed #24129 -- Added indicator that migrations are rendering the initial stateMarkus Holtermann
Thanks Tim Graham for the review.
2015-01-12Fixed #9893 -- Allowed using a field's max_length in the Storage.Pavel Shpilev
2015-01-07Fixed #24073 -- Deactivated translations when leave_locale_alone is FalseClaude Paroz
Thanks Tim Graham and Markus Holtermann for the reviews.
2015-01-06Fixed #12663 -- Formalized the Model._meta API for retrieving fields.Daniel Pyrathon
Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
2015-01-06Fixed #20003 -- Improved and extended URLValidatorDanilo Bargen
This adds support for authentication data (`user:password`) in URLs, IPv6 addresses, and unicode domains. The test suite has been improved by adding test URLs from http://mathiasbynens.be/demo/url-regex (with a few adjustments, like allowing local and reserved IPs). The previous URL validation regex failed this test suite on 13 occasions, the validator was updated based on https://gist.github.com/dperini/729294.
2015-01-06Fixed gettext version regexClaude Paroz
...with the theoretical assumption that gettext may once reach a two-digit number. Thanks Walter Doekes for noticing this potential issue.
2015-01-05Refs #23359 -- Removed double newline from output of migrate --listMarkus Holtermann
Thanks Berker Peksag for the review.
2015-01-05Fixed #8280 -- Allowed management command discovery for eggsClaude Paroz
Thanks jdetaeye for the report, bhuztez and jdetaeye for the initial patches, Tim Graham and Berker Peksag for the reviews.