summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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-19Refs #24100 -- Fixed a test failure on MySQL related to non-transactional DDL.Simon Charette
Thanks Tim for the report.
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 running auth_tests in isolation after ↵Loïc Bistuer
3a47d42fa33012b2156bf04058d933df6b3082d2.
2016-05-18Fixed #25774 -- Refactor datetime expressions into public APIJosh Smeaton
2016-05-17Fixed #14415 -- Used the test database name in ↵boaz85@gmail.com
BaseDatabaseCreation.test_db_signature().
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-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-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-14Simplified a ClearableFileInput test.Tim Graham
2016-05-13Refs #18599 -- Added a test for assigning a GenericForeignKey in ↵Bouke Haarsma
Model.__init__(). The issue was fixed by 8a47ba679d2da0dee74671a53ba0cd918b433e34 (refs #16508).
2016-05-13Adjusted a variable name in migration signal tests.Simon Charette
2016-05-13Refs #24201 -- Ignored order_with_respect_to private fields in migrations.Simon Charette
Thanks Tim for the review.
2016-05-13Added tests for the post_migrate signal.Simon Charette
2016-05-13Cosmetic edits to tests/managers_regress/tests.pyTim Graham
2016-05-13Fixed #24938 -- Added PostgreSQL trigram support.Matthew Somerville
2016-05-13Refs #26333 -- Reverted inadvertent edits to fix tests.Tim Graham
2016-05-13Fixed #26333 -- Made GIS Geometry classes deconstructible.Nicolas Noé
2016-05-13Fixed #26612 -- Fixed SelectFilter2 buttons changing URL.David Sanders
2016-05-12Fixed #26277 -- Added support for null values in ChoicesFieldListFilter.Vincenzo Pandolfo
2016-05-12Fixed #21231 -- Enforced a max size for GET/POST values read into memory.Andre Cruz
Thanks Tom Christie for review.
2016-05-11Refs #24046 -- Fixed a template test when run in reverse.Tim Graham
2016-05-11Fixed #26429 -- Added a timestamp to merge migration names.Raphael Gaschignard
This reduces the possibility of a naming conflict, especially after squashing migrations.
2016-05-10Refs #18100 -- Added tests for deferred model deletion signals.Simon Charette
Thanks Tim for the review and pointing out this was fixed by #26207.
2016-05-10Fixed #24046 -- Deprecated the "escape" half of utils.safestring.Tim Graham
2016-05-10Stopped truncating AdminEmailHandler message subjectsClaude Paroz
Refs #26572, #17281. The RFC doesn't limit total length, just the line length which is already taken care of by Python itself. Thanks Tim Graham for the review.
2016-05-10Fixed #26603 -- Forced lazy template names to text when computing cache key.Simon Charette
Refs #26536. Thanks Sylvain Fankhauser for the very detailed report.
2016-05-09Fixed #25005 -- Made date and time fields with auto_now/auto_now_add use ↵Iacopo Spalletti
effective default. Thanks to Andriy Sokolovskiy for initial patch.
2016-05-08Sorted migration list order in test; added trailing comma.Jarek Glowacki
2016-05-08Included reverse deps in showmigrationsJarek Glowacki
2016-05-08Fixed #25945, #26292 -- Refactored MigrationLoader.build_graph()Jarek Glowacki
2016-05-07Fixed #26449 -- Merged admin's FORMFIELD_FOR_DBFIELD_DEFAULTS with ↵marysia
formfield_overrides. Useful for overriding the DateTimeField widget.
2016-05-07Fixed #26402 -- Added relative path support in include/extends template tags.Vitaly Bogomolov
2016-05-07Fixed #26582 -- Added prettier admin display for list values.Dan Watson
2016-05-07Made GDAL proj test less fragileClaude Paroz
The WGS84 proj string can differ depending on installed libs. Refs #26592.
2016-05-07Fixed #26544 -- Delayed translations of SetPasswordForm help_textsClaude Paroz
Thanks Michael Bitzi for the reporti and Tim Graham for the review.
2016-05-07Fixed #26593 -- Leveraged deferrable_sql() in SchemaEditorMarkus Holtermann