summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2016-11-06Fixed #27369 -- Prevented widgets from being shared between form field ↵Michal Petrucha
instances.
2016-11-05Fixed #27346 -- Stopped setting the Content-Length header in ↵Adam Malinowski
ConditionalGetMiddleware.
2016-11-05Fixed #27441 -- Improved SQL for 'DROP COLUMN' on MySQLAdam Chainz
'CASCADE' is an undocumented no-op in MySQL, so to avoid confusion Django no longer outputs it.
2016-11-03Fixed #27423 -- Simplified sys.exit() for indicating test failures.Ana Balica
2016-11-01Fixed CVE-2016-9014 -- Validated Host header when DEBUG=True.Tim Graham
This is a security fix.
2016-11-01Fixed CVE-2016-9013 -- Generated a random database user password when ↵Marti Raudsepp
running tests on Oracle. This is a security fix.
2016-11-01Fixed #27363 -- Replaced unsafe redirect in SessionMiddleware with ↵Andrew Nester
SuspiciousOperation.
2016-10-31Fixed #27148 -- Fixed ModelMultipleChoiceField crash with invalid UUID.Tim Graham
2016-10-31Fixed #27063 -- Prevented i18n_patterns() from using too much of the URL as ↵Krzysztof Urbaniak
the language.
2016-10-28Fixed #27188 -- Allowed using unique=True with FileField.Michael Scott
Thanks Tim Graham for the initial patch.
2016-10-28Added require_ready argument to get_model methods.Aymeric Augustin
This allows bringing back the behavior of Django < 1.7. Also fixed the check for the app registry being ready in AppConfig.get_model(s), which was inconsistent with the equivalent check in Apps.get_model(s). That part is a backwards-incompatible change.
2016-10-28Simplified AppConfig.import_models().Aymeric Augustin
Since AppConfig now has a reference to its parent Apps registry, it can look up the models there instead of receiving them in argument.
2016-10-28Modified readiness check in AppConfig.get_model(s).Aymeric Augustin
It was inconsistent with the equivalent check in Apps.get_model(s) because I made incorrect assumptions when I wrote that code and needlessly complicated readiness checks. This is a backwards-incompatible change.
2016-10-28Fixed #26578 -- Prohibited non-ASCII digits in validate_ipv4_address.wim glenn
2016-10-28Fixed #20939 -- Simplified query generation by converting QuerySet to Query.Tim Graham
Thanks Anssi Kääriäinen for the initial patch and Anssi, Simon Charette, and Josh Smeaton for review.
2016-10-27Corrected TooManyFieldsSent doctring for GET requests.Zach Wernberg
2016-10-27Fixed #27373 -- Corrected 404 debug page message for an empty request path.Mariusz Felisiak
2016-10-27Fixed #27327 -- Simplified time zone handling by requiring pytz.Tim Graham
2016-10-26Fixed #27334 -- Allowed FileField to move rather than copy a file.Adam Chidlow
When a FileField is set to an instance of File that is not also an instance of FieldFile, pre_save() passes that object as the contents to Storage.save(). This allows the file to be moved rather than copied to the upload destination.
2016-10-25Reverted "Fixed #26401 -- Added BaseAuthConfig to use auth without migrations."Jon Dufresne
This reverts commit 1ec1633cb294d8ce2a65ece6b56c258483596fba as it doesn't handle ContentType's auth.Permission dependency. Thus, it doesn't allow auth without migrations.
2016-10-25Fixed #27385 -- Fixed QuerySet.bulk_create() on PostgreSQL when the number ↵David Barragán Merino
of objects is a multiple plus one of batch_size.
2016-10-25Updated postgresql.org links to https and made them canonical.Marti Raudsepp
2016-10-24Fixed #26357 -- Allowed admin popups to work on links added after page load.Julian Andrews
2016-10-24Removed unused loop in Query.change_aliases().Tim Graham
Unknown if it was ever used.
2016-10-24Added MySQLOperations.geom_func_prefix to simplify.Sergey Fedoseev
2016-10-22Fixed #27374 -- Made JavaScriptCatalog respect the packages argument.Alvin Lindstam
2016-10-21Fixed #27368 -- Modifed BaseEmailBackend.__enter__() to close the connection ↵Jon Dufresne
if an exception occurs. Fixes unclosed socket ResourceWarning in mail test. Thanks Claude Paroz for the review.
2016-10-20Optimized file copy in TemplateCommandClaude Paroz
2016-10-20Removed note about obsolete Python versionClaude Paroz
2016-10-17Fixed #27344 -- Made ConditionalGetMiddleware only process GET requests.Kevin Christopher Henry
2016-10-17Refs #20888 -- Fixed index ordering introspection on PostgreSQL 9.6.François Freitag
2016-10-15Removed unused branch in ModelIterable.__iter__().Tim Graham
Unknown if it was ever used.
2016-10-15Removed unused 'field' argument to DeleteQuery.delete_batch().Tim Graham
Unused since a170c3f755351beb35f8166ec3c7e9d524d9602d.
2016-10-14Removed DatabaseFeatures.can_combine_inserts_with_and_without_auto_increment_pk.Tim Graham
Unused (always False) after 29132ebdef0e0b9c09e456b05f0e6a22f1106a4f.
2016-10-14Removed unused QuerySet.value_annotation attribute.Tim Graham
Unused since 5008a4db440c8f7d108a6979b959025ffb5789ba.
2016-10-14Fixed #27324 -- Simplified DatabaseIntrospection.get_constraints() on Oracle.Mariusz Felisiak
2016-10-14Fixed #27345 -- Stopped setting the Date header in ConditionalGetMiddleware.Tim Graham
2016-10-14Tested QuerySet compatibility check.Tim Graham
cdfdcf4b70bebfc68871df885387790c6afbc23c missed this test.
2016-10-14Refs #19705 -- Changed gzip modification times to 0.Kevin Christopher Henry
This makes gzip output deterministic, which allows ConditionalGetMiddleware to reliably compare ETags on gzipped content (views using the gzip_page() decorator in particular).
2016-10-13Removed unused InsertQuery.clone().Tim Graham
Unknown if it was ever needed.
2016-10-13Removed unneeded try/except in Query.names_to_path().Tim Graham
2016-10-13Removed unused branch in SQLUpdateCompiler.as_sql().Tim Graham
Unknown if it was ever needed.
2016-10-13Removed unused branch in Query.change_aliases().Tim Graham
Unused since 0c7633178fa9410f102e4708cef979b873bccb76.
2016-10-13Refs #19705 -- Made GZipMiddleware make ETags weak.Kevin Christopher Henry
Django's conditional request processing can now produce 304 Not Modified responses for content that is subject to compression.
2016-10-13Removed unused EmptyResultSets in SQLCompilers.Tim Graham
Unused since ed1bcf05158acf4bf4e0189d477b6c762bd0133e.
2016-10-13Fixed #27200 -- Provided makemigration's allow_migrate() with model_name.Tim Graham
2016-10-13Fixed #26954 -- Prevented ModelAdmin.has_module_permission()=False from ↵Halil Kaya
blocking access to the app index page.
2016-10-12Fixed #24607 -- Serialized natural keys in multi-table inheritance models.João Sampaio
2016-10-12Fixed #27323 -- Optimized Oracle introspection by using USER_SEQUENCES ↵Mariusz Felisiak
instead of USER_CATALOG.
2016-10-12Fixed #27333 -- Prevented BASE64 encoding in message.as_string() on Python 3Claude Paroz
Thanks Tim Graham for the review.