summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-17Optimized ModelAdmin._changeform_view() by avoiding multiple get_fieldsets() ↵Daniel Hahler
calls. Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2020-01-17Added note about incomplete HTML in tutorial 3.Adam Johnson
2020-01-17Refs #30752 -- Doc'd error reporting related optional request attributes.Carlton Gibson
2020-01-17Fixed #31166 -- Used "raise from" when raising ImproperlyConfigured ↵Ram Rachum
exceptions in django.urls.resolvers. This change sets the __cause__ attribute to raised exceptions and makes small cleanups in error messages.
2020-01-17Fixed #31171 -- Fixed wording in auto-escaping section of custom template ↵Takayuki Hirayama
tags docs.
2020-01-16Fixed #30752 -- Allowed using ExceptionReporter subclasses in error reports.Pavel Lysak
2020-01-16Added apps.py to project from tutorials in reusable apps docs.Anael Mobilia
2020-01-16Fixed #31162 -- Prevented error logs when using WKT strings in lookups.Mariusz Felisiak
Thanks dbxnr for the initial patch. Regression in 6f44f714c92d2966dca390ebd3054e5fb0bb0c80.
2020-01-16Fixed #30765 -- Made cache_page decorator take precedence over max-age ↵Flavio Curella
Cache-Control directive.
2020-01-16Used constant instead of hard-coded value for recursive relationship.Adam Johnson
2020-01-16Fixed #29998 -- Allowed multiple OneToOneFields to the parent model.Mariusz Felisiak
We assumed that any OneToOneField's in a child model must be the parent link and raised an error when parent_link=True was not specified. This patch allows to specify multiple OneToOneField's to the parent model. OneToOneField's without a custom related_name will raise fields.E304 and fields.E305 so this should warn users when they try to override the auto-created OneToOneField.
2020-01-15Clarified backport policy for regressions.Carlton Gibson
2020-01-15Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited ↵Carlton Gibson
choices. Regression in 2d38eb0ab9f78d68c083a5b78b1eca39027b279a
2020-01-15Refs #29998 -- Corrected auto-created OneToOneField parent_link in MTI docs.Mariusz Felisiak
2020-01-15Fixed obsolete comment in django.utils.crypto.salted_hmac().Mariusz Felisiak
Obsolete since 13864703bc1d5dd4dac63c96c6a4b42a392bc57f.
2020-01-15Refs #27468 -- Added explicit tests for django.utils.crypto.salted_hmac()Claude Paroz
2020-01-15Refs #31136 -- Made QuerySet.values()/values_list() group only by selected ↵Mariusz Felisiak
annotation. Regression in 0f843fdd5b9b2f2307148465cd60f4e1b2befbb4.
2020-01-15Fixed #29871 -- Allowed setting pk=None on a child model to create a copy.chetan22
Thanks Simon Charette and Tim Graham for the initial patch.
2020-01-14Refs #31097 -- Added release notes for 2f565f84aca136d9cc4e4d061f3196ddf9358ab8.Carlton Gibson
.
2020-01-14Fixed <span> nesting in technical 500 template.Daniel Hahler
2020-01-13Fixed typo in docs/ref/django-admin.txt.Daniel Hahler
2020-01-13Fixed #31160 -- Fixed admin CSS for ordered lists' descendants in unordered ↵Owen T. Heisler
list.
2020-01-11Removed unused ExceptionReporterFilter class.Carlton Gibson
Unused since 8f8c54f70bfa3aa8e311514297f1eeded2c32593.
2020-01-11Fixed #31155 -- Fixed a system check for the longest choice when a named ↵Mariusz Felisiak
group contains only non-string values. Regression in b6251956b69512bf230322bd7a49b629ca8455c6. Thanks Murat Guchetl for the report.
2020-01-10Fixed #30980 -- Improved error message when checking uniqueness of admin ↵Adam Donaghy
actions' __name__. Thanks Keshav Kumar for the initial patch.
2020-01-10Fixed #23004 -- Added request.META filtering to SafeExceptionReporterFilter.Carlton Gibson
Co-authored-by: Ryan Castner <castner.rr@gmail.com>
2020-01-10Refs #23004 -- Allowed exception reporter filters to customize settings ↵Carlton Gibson
filtering. Thanks to Tim Graham for the original implementation idea. Co-authored-by: Daniel Maxson <dmaxson@ccpgames.com>
2020-01-10Fixed #31154 -- Added support for using enumeration types in templates.Adam Johnson
Enumeration helpers are callables, so the template system tried to call them with no arguments. Thanks Rupert Baker for helping discover this.
2020-01-09Added file cleanup in FileFieldTests.test_pickle().Carlton Gibson
2020-01-09More accurate terminology ("logger" instead of "logging handler") in logging ↵Kal Sze
documentation.
2020-01-09Fixed #30995 -- Allowed converter.to_url() to raise ValueError to indicate ↵Jack Cushman
no match.
2020-01-09Improved ReST formatting in docs/README.rst.KHMANJUNATH
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-01-09Fixed #31148 -- Added error messages on update()/delete() operations ↵Hasan Ramezani
following union(), intersection(), and difference().
2020-01-09Fixed #21238 -- Fixed restoring attributes when pickling FileField and ↵Hasan Ramezani
ImageField.
2020-01-09Refs #21238 -- Added more tests for pickling FileField and ImageField.Hasan Ramezani
2020-01-09Removed unused lines in ImageFieldTests.test_pickle().Hasan Ramezani
2020-01-09Renamed docs/README to README.rst.Someoneece
2020-01-09Renamed set_language()'s next variable to avoid clash with builtin.Mike Yusko
2020-01-08Refs #23919 -- Removed obsolete comment in signing.pyClaude Paroz
2020-01-08Added tests for using the same name for multiple URL patterns.Jack Cushman
2020-01-08Clarified that ValueError raised by converter.to_python() means no match ↵Jack Cushman
unless another URL pattern matches.
2020-01-08Fixed #31118 -- Made FileInput to avoid the required attribute when initial ↵Shubham singh
data exists.
2020-01-08Fixed #31141 -- Relaxed system check of translation settings for sublanguages.Mariusz Felisiak
Regression in 4400d8296d268f5a8523cd02ddc33b12219b2535. Thanks Enrique Matías Sánchez for the report.
2020-01-07Simplified model's Options.add_field() a bit.Taoup
2020-01-07Fixed #15982 -- Added DATE_INPUT_FORMATS to forms.DateTimeField default ↵Claude Paroz
input formats.
2020-01-07Fixed #31103 -- Improved pagination topic documentation.Mark Bailey
2020-01-07Fixed timezones tests for PyYAML 5.3+.Mariusz Felisiak
2020-01-06Removed "Don't do that" from docs and error messages.Adam Johnson
It's slightly aggressive and doesn't explain itself.
2020-01-06Fixed #11385 -- Made forms.DateTimeField accept ISO 8601 date inputs.Claude Paroz
Thanks José Padilla for the initial patch, and Carlton Gibson for the review.
2020-01-06Corrected notes about default date/datetime/time input formats.Claude Paroz