summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-02Added missing import in ref/models/database-functions.txt.Mariusz Felisiak
2019-10-02Fixed #14218 -- Added Paginator.__iter__().Tanner Stirrat
2019-10-02Added stub release notes for 1.11.26 and 2.1.14.Mariusz Felisiak
2019-10-01Fixed #30651 -- Made __eq__() methods return NotImplemented for not ↵ElizabethU
implemented comparisons. Changed __eq__ to return NotImplemented instead of False if compared to an object of the same type, as is recommended by the Python data model reference. Now these models can be compared to ANY (or other objects with __eq__ overwritten) without returning False automatically.
2019-10-01Refs #30651 -- Added tests for Prefetch.__eq__().Mariusz Felisiak
2019-10-01Refs #30651 -- Added tests for Message.__eq__().Mariusz Felisiak
2019-10-01Fixed typo in BulkInsertMapper constant name.Mariusz Felisiak
2019-10-01Fixed #30510 -- Fixed crash of QuerySet.bulk_create() with mixed-length ↵Ahmet Kucuk
texts on Oracle. Text with more than 4000 characters must be set to as a CLOB on Oracle what caused a mixed datatype error (ORA-01790) when shorter text appeared in the same operation.
2019-10-01Added stub release notes for 2.2.7.Carlton Gibson
2019-10-01Added release dates for 2.2.6, 2.1.13, and 1.11.25.Carlton Gibson
2019-09-30Fixed #28690 -- Fixed handling of two-digit years in parse_http_date().Ad Timmering
Due to RFC7231 ayear that appears to be more than 50 years in the future are interpreted as representing the past.
2019-09-30Refs #28690 -- Added more tests for parse_http_date().Ad Timmering
2019-09-30Fixed #30774 -- Made serialization in migrations use members names for Enums.Hasan Ramezani
2019-09-30Doc'd that migrate commmand accepts a unique migration name prefix.David Vaz
2019-09-27Fixed #30802 -- Prevented manifest creation when running collectstatic in ↵pablo
dry run mode.
2019-09-27Fixed #30597 -- Clarified how to unapply migrations.David Vaz
2019-09-27Refs #30597 -- Added a warning about dependent apps when unapplying migrations.David Vaz
2019-09-27Fixed #30798 -- Fixed Meta.ordering validation for pk of related fields.Hasan Ramezani
Regression in 440505cb2cadbe1a5b9fba246bcde6c04f51d07e.
2019-09-27Refs #30798 -- Prevented chaining fields from the same related model ↵Hasan Ramezani
multiple times in model Meta.ordering.
2019-09-27Fixed #27921 -- Clarified usage of make_aware() with is_dst argument.Glenn
2019-09-27Fixed #30810 -- Fixed ↵Pablo García
WatchmanReloaderTests.test_setting_timeout_from_environment_variable test. client_timeout is an instance attribute.
2019-09-25Fixed #25598 -- Added SCRIPT_NAME prefix to STATIC_URL and MEDIA_URL set to ↵Oleg Kainov
relative paths. Thanks Florian Apolloner for reviews. Co-authored-by: Joel Dunham <Joel.Dunham@technicalsafetybc.ca>
2019-09-25Fixed #30800 -- Fixed migrations crash when altering a field with custom ↵Mariusz Felisiak
db_type(). Regression in 1378d665a1c85897d951f2ca9618b848fdbba2e7.
2019-09-25Documented admonition on when to use custom signals (#11814)Adam Johnson
Thanks Cesar Canassa for the suggestion and Aymeric Augustin for review.
2019-09-25Fixed false positive tests of Paginator.count property.Maxim Kurnikov
2019-09-24Removed some outdated backwards compatibility imports and misleading comments.Mads Jensen
EmptyResultSet moved in 46509cf13dbf049f75077981c29ef2c60b5a96ab. FieldDoesNotExist moved in 8958170755b37ce346ae5257c1000bd936faa3b0. BoundField and pretty_name moved in 8550161e531a603d57723850fb09c4c9b7ca60b9. EMPTY_VALUES moved in 471596fc1afcb9c6258d317c619eaf5fd394e797. BaseRunserverCommand moved in 5c53e30607014163872e89c221b206992a9acfef.
2019-09-24Refs #27910 -- Doc'd support for enumeration types serialization in migrations.Mariusz Felisiak
2019-09-24Refs #30350 -- Doc'd support for range serialization in migrations.Mariusz Felisiak
2019-09-24Updated the default cache key transformation in documentation.Ryan Nowakowski
Follow up to 6c69de80bdcd2744bc64cb933c2d863dd5e74a33.
2019-09-24Refs #29444 -- Removed redundant ↵Mariusz Felisiak
DatabaseFeatures.can_return_multiple_columns_from_insert. Unnecessary since b31e63879eb5d9717e9f890401f7222e4f00c910.
2019-09-24Fixed #29444 -- Allowed returning multiple fields from INSERT statements on ↵Johannes Hoppe
Oracle.
2019-09-24Refs #26601 -- Used new-style middlewares in documentation.Claude Paroz
2019-09-24Fixed #30796 -- Prevented select_related() from mutating a queryset on chaining.Simon Charette
Thanks Darren Maki for the report.
2019-09-23Fixed #30732 -- Doc'd that SameSite cookies flags can affect ↵Jezeniel Zapanta
xframe_options_exempt.
2019-09-23Fixed #13296 -- Fixed ordering by Options.order_with_respect_to after ↵Hasan Ramezani
deleting objects. Thanks Simon Meers for the original patch.
2019-09-23Fixed #29915 -- Added support for values with hyphens to pattern lookups for ↵Ian Foote
UUIDField on backends without UUID datatype. Support hyphens in iexact, contains, icontains, startswith, istartswith, endswith and iendswith UUIDField filters on backends without UUID datatype.
2019-09-23Refs #29915 -- Doc'd limitation of using pattern lookups with UUIDField on ↵Mariusz Felisiak
PostgreSQL.
2019-09-23Refs #29915 -- Added tests for using pattern lookups with values without ↵Ian Foote
hyphens for UUIDField.
2019-09-23Fixed typo in docs/ref/settings.txt.Mariusz Felisiak
2019-09-21Dropped obsolete mimetype kwarg in csrf test viewClaude Paroz
2019-09-20Refs #28622 -- Clarified security implications of PASSWORD_RESET_TIMEOUT.Luke Plant
2019-09-20Fixed #28622 -- Allowed specifying password reset link expiration in seconds ↵Hasan Ramezani
and deprecated PASSWORD_RESET_TIMEOUT_DAYS.
2019-09-20Fixed #30771 -- Fixed exact lookup against queries with selected columns.James Timmins
Use pre-existing select fields (and thereby GROUP BY fields) from subquery if they were specified, instead of always defaulting to pk. Thanks Aur Saraf for the report and Simon Charette for guidance.
2019-09-20Fixed #30786 -- Used CONVERT_TZ to check if the time zone definitions are ↵Andrew
installed on MySQL. Replaced a timezone check in the MySQL backend with one that doesn't require access to the mysql.time_zone database.
2019-09-19Fixed #27462 -- Clarifed pk_set difference in m2m_changed signal receivers ↵Carlton Gibson
for add() and remove(). Thank you to Mariusz Felisiak for review.
2019-09-19Refs #27462 -- Added tests of pk_set in m2m_changed signal receivers for ↵Carlton Gibson
repeated add/remove calls.
2019-09-18Fixed #30772 -- Optimized make_template_fragment_key().Daniel Fairhead
Removed usage of urllib.quote(), unnecessary since cbbe60c7fc39fa8ff75554bd90104eaad6924bb1. Used hasher's .update() on key fragments.
2019-09-18Fixed #30776 -- Restored max length validation on ↵Sam Reynolds
AuthenticationForm.UsernameField. Regression in 5ceaf14686ce626404afb6a5fbd3d8286410bf13. Thanks gopackgo90 for the report and Mariusz Felisiak for tests.
2019-09-17Fixed #30725 -- Fixed width of DateTimeField inputs in admin tabular inline.Min ho Kim
"width" of DateTimeField inputs in admin tabular inline wasn't set correctly what caused displaying too small inputs with responsive CSS when timezone warning wasn't present.
2019-09-17Fixed #30758 -- Made RangeFields use multiple hidden inputs for initial data.Nasir Hussain