summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2016-05-31Fixed #26676 -- Prevented prefetching to_attr from caching its result in ↵Simon Charette
through attr. Thanks Ursidours for the report.
2016-05-31Fixed #26691 -- Removed checking for a file's existence before deleting.Jon Dufresne
File operations always raise a ENOENT error when a file doesn't exist. Checking the file exists before the operation adds a race condition condition where the file could be removed between operations. As the operation already raises an error on a missing file, avoid this race and avoid checking the file exists twice. Instead only check a file exists by catching the ENOENT error.
2016-05-31Fixed #25645 -- Dropped support for SpatiaLite < 4.0.Tim Graham
2016-05-30Fixed #26653 -- Made SyndicationFeed.latest_post_date() return time in UTC.Ketan Bhatt
2016-05-30Fixed #25044 -- Fixed migrations for renaming ManyToManyField's through model.Vytis Banaitis
2016-05-30Refs #26621 -- Added tests for admindocs.views.simplify_regex().Tim Graham
2016-05-30Fixed #13080 -- Corrected accepted values of sender parameter in ↵Berker Peksag
Signal.connect() docstring.
2016-05-28Added RemovedInDjango21WarningTim Graham
2016-05-28Refs #24227 -- Fixed crash of ManyToManyField.value_from_object() on unsaved ↵Tim Graham
model instances. This behavior was removed in 67d984413c9540074e4fe6aa033081a35cf192bc but is needed to prevent a crash in formtools.
2016-05-27Fixed #26646 -- Added IOBase methods required by TextIOWrapper to File.Simon Charette
Thanks Tim for the review.
2016-05-27Fixed #26645 -- Fixed potential makemessages failures on Windows.Ramiro Morales
This was reflected by 27 i18n test errors (not failures) on such platform caused by corrupt intermediate PO catalog files fed to `msgmerge(1)`. Made it handle in-memory PO/POT file contents with normalized line separators (`'\n'`). We need to perform manually this after using `subprocess.Popen` as we can't pass it `universal_newlines=True`. Also fixes #26670 in the process as this commit refactors the same code section.
2016-05-27Fixed #26573 -- Added descriptive error message for malformed if/else/elif ↵inondle
template tags.
2016-05-27Fixed #26642 -- Made ModelSignal.disconnect() work with lazy references.Alex Hill
2016-05-27Refs #25588 -- Fixed GDAL dependency in spatial lookups.Daniel Wiesmann
2016-05-26Fixed #26647 -- Included the state of all applied migrations when migrating ↵Simon Charette
forward. Thanks Jasper Maes for the detailed report.
2016-05-25Added missing quotes in openlayers.html template.Aleksey
2016-05-24Refs #26134 -- Updated deprecated MySQL GIS function names.Tim Graham
2016-05-20Increased the default PBKDF2 iterations.Tim Graham
2016-05-19Bumped version; master is now 1.11 pre-alpha.Tim Graham
2016-05-19Fixed #26421 -- Refactored ModelSignal to use Apps.lazy_model_operation()Alex Hill
2016-05-19Refs #26421 -- Refactored Apps.lazy_model_operation() for better checks and ↵Alex Hill
tests
2016-05-19Fixed some newlines in imports per isort.Tim Graham
2016-05-19Fixed #26515 -- Fixed Query.trim_joins() for nested ForeignObjects.darius BERNARD
2016-05-19Fixed #20869 -- made CSRF tokens change every request by salt-encrypting themShai Berger
Note that the cookie is not changed every request, just the token retrieved by the `get_token()` method (used also by the `{% csrf_token %}` tag). While at it, made token validation strict: Where, before, any length was accepted and non-ASCII chars were ignored, we now treat anything other than `[A-Za-z0-9]{64}` as invalid (except for 32-char tokens, which, for backwards-compatibility, are accepted and replaced by 64-char ones). Thanks Trac user patrys for reporting, github user adambrenecki for initial patch, Tim Graham for help, and Curtis Maloney, Collin Anderson, Florian Apolloner, Markus Holtermann & Jon Dufresne for reviews.
2016-05-18Moved the AUTH_USER_MODEL setting changed receiver.Simon Charette
Test suites besides Django's may need the same behavior.
2016-05-18Fixed #26620 -- Made Model.refresh_from_db() fail when passed unknown kwargs.Marti Raudsepp
2016-05-18Fixed #26627 -- Fixed on_commit callbacks execution order when callbacks ↵Barthelemy Dagenais
make transactions.
2016-05-18Fixed #25774 -- Refactor datetime expressions into public APIJosh Smeaton
2016-05-18Refs #25774 -- Made Oracle truncate microseconds if USE_TZ=False.Josh Smeaton
The tests for this change are in the fix for #25774.
2016-05-17Fixed #26613 -- Made sqlite3 optional in SchemaEditor.quote_value().Philip Liberato
2016-05-17Fixed #14415 -- Used the test database name in ↵boaz85@gmail.com
BaseDatabaseCreation.test_db_signature().
2016-05-17Updated translation catalogsClaude Paroz
2016-05-17Fixed #24067 -- Renamed content types upon model renaming.Simon Charette
Thanks to Tim for the extensive review.
2016-05-17Refs #26601 -- Added a warning if both MIDDLEWARE AND MIDDLEWARE_CLASSES are ↵Tim Graham
set.
2016-05-17Refs #26601 -- Deprecated old-style middleware.Tim Graham
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-17Refs #26601 -- Refactored BaseHandler to prepare for new-style middleware.Florian Apolloner
2016-05-17Updated admin's jQuery to 2.2.3.Tim Graham
2016-05-17Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify ↵Loïc Bistuer
models' default and base managers. This deprecates use_for_related_fields. Old API: class CustomManager(models.Model): use_for_related_fields = True class Model(models.Model): custom_manager = CustomManager() New API: class Model(models.Model): custom_manager = CustomManager() class Meta: base_manager_name = 'custom_manager' Refs #20932, #25897. Thanks Carl Meyer for the guidance throughout this work. Thanks Tim Graham for writing the docs.
2016-05-17Fixed #20932, #25897 -- Streamlined manager inheritance.Loïc Bistuer
2016-05-16Refs #21379 -- Normalized unicode username inputsClaude Paroz
2016-05-16Fixed #21379 -- Created auth-specific username validatorsClaude Paroz
Thanks Tim Graham for the review.
2016-05-16Refs #26592 -- Fixed band statistics for empty bands and GDAL 2.1Daniel Wiesmann
2016-05-16Fixed #24305 -- Allowed overriding fields on abstract models.Aron Podrigal
Fields inherited from abstract base classes may be overridden like any other Python attribute. Inheriting from multiple models/classes with the same attribute name will follow the MRO.
2016-05-15Fixed #24075 -- Used post-migration models in contrib apps receivers.Simon Charette
Thanks Markus and Tim for the review.
2016-05-15Fixed #24100 -- Made the migration signals dispatch its plan and apps.Simon Charette
Thanks Markus for your contribution and Tim for your review.
2016-05-14Removed unused code in AlterField.database_forwards().Tim Graham
This code added in 107c9f545346149b03354678f53a177709edaced isn't used after 4ce7a6bc84c68406e39f48550434faeef3277eba.
2016-05-14Removed redundant code in QuerySet._batched_insert().Tim Graham
2016-05-13Fixed #26614 -- Used constant_time_compare() in checking session auth hash ↵Tim Graham
in login().
2016-05-13Refs #24201 -- Ignored order_with_respect_to private fields in migrations.Simon Charette
Thanks Tim for the review.