summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-04Fixed #29714 -- Allowed using ExceptionReporter subclass with AdminEmailHandler.Nasir Hussain
2019-09-04Changed example git clone URLs to use HTTPS.Min ho Kim
2019-09-04Added stub release notes for 2.2.6.Mariusz Felisiak
2019-09-03Fixed #30691 -- Made migrations autodetector find dependencies for foreign ↵Viktor Lomakin
keys altering.
2019-09-03Refs #29444 -- Made db.backends.oracle.utils.InsertVar use str as default.Johannes Hoppe
2019-09-02Fixed #30747 -- Renamed is_safe_url() to url_has_allowed_host_and_scheme().Carlton Gibson
2019-09-02Fixed #30739 -- Fixed exclusion of multi-valued lookup against outer rhs.Simon Charette
OuterRef right hand sides have to be nested, just like F rhs have to, during the subquery pushdown split_exclude performs to ensure they are resolved against the outer query aliases.
2019-09-02Refs #28442 -- Adjusted related lookups handling of expression rhs.Simon Charette
Expressions should never be prepared as other Lookup.get_prep_lookup implementations hint at by returning early on the presence of the resolve_expression attribute. The previous solution was only handling lookups against related fields pointing at AutoFields and would break for foreign keys to other fields. It was also causing bidirectional coupling between model fields and expressions which the method level import of OuterRef was a symptom of.
2019-09-02Refs #29379 -- Moved autocomplete attribute to UsernameField.Nick Pope
Moving the autocomplete attribute into UsernameField allows this to work for custom forms making use of UsernameField, removes some duplication in the code, and keeps consistency with the autocapitalize attribute that is already defined on UsernameField.
2019-09-02Added release dates for 2.2.5, 2.1.12, and 1.11.24.Mariusz Felisiak
2019-08-31Fixed #30738 -- Fixed typo in docs/ref/forms/widgets.txt.Daria Kolodzey
Thanks Emmanuel Cazenave for the report.
2019-08-31Refs #30736 -- Added missing versionadded annotations for ↵Mariusz Felisiak
Storage.get_alternative_name(). Thanks Simon Charette for the report.
2019-08-30Fixed #30731 -- Fixed handling trailing groups in simplify_regex().Alan Crosswell
Previously simplify_regex() didn't handle trailing groups for regexp without the end of string character ("$").
2019-08-30Fixed #30736 -- Added Storage.get_alternative_name() to allow customization.yukihira1992
2019-08-29Fixed #18763 -- Added ModelBackend/UserManager.with_perm() methods.Berker Peksag
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
2019-08-29Removed unneeded * markers from parameter names.Carlton Gibson
2019-08-29Fixed #30066 -- Enabled super user creation without email and passworddaniel a rios
2019-08-29Converted auth test to use subTest().Carlton Gibson
2019-08-29Refs #25367 -- Simplified OrderBy and Lookup by using Case() instead of ↵Mariusz Felisiak
RawSQL() on Oracle. Follow up to efa1908f662c19038a944129c81462485c4a9fe8.
2019-08-29Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude().Matthew Schinckel
This allows using expressions that have an output_field that is a BooleanField to be used directly in a queryset filters, or in the When() clauses of a Case() expression. Thanks Josh Smeaton, Tim Graham, Simon Charette, Mariusz Felisiak, and Adam Johnson for reviews. Co-Authored-By: NyanKiyoshi <hello@vanille.bid>
2019-08-29Used skipUnlessDBFeature instead of checking vendor in ↵Mariusz Felisiak
test_filtering_on_annotate_that_uses_q.
2019-08-29Added tests for raising an error when passing non-boolean expression to When().Mariusz Felisiak
2019-08-28Adjusted subprocess.run() calls to use arg list, rather than string. Jon Dufresne
The Python docs recommend passing a sequence to subprocess.run() when possible. Doing so allows for automatic escaping and quoting of arguments. https://docs.python.org/3/library/subprocess.html#frequently-used-arguments > args is required for all calls and should be a string, or a sequence > of program arguments. Providing a sequence of arguments is generally > preferred, as it allows the module to take care of any required > escaping and quoting of arguments (e.g. to permit spaces in file > names). Also removed `shell=True` where unnecessary.
2019-08-28Refs #27795 -- Removed an unnecessary force_bytes() call in uri_to_iri().Jon Dufresne
The value returned from urllib.parse.quote() is always a string, so can safely call .encode().
2019-08-28Fixed #30733 -- Doc'd that datetime lookups require time zone definitions in ↵Andrew
the database. Note was missing for date, year, iso_year, week, time, hour, minute, and second lookups.
2019-08-27Doc'd for_save argument of Expression.resolve_expression().Matthew Schinckel
2019-08-27Fixed #30722 -- Added default rate-limiting requests to admin's Select2 widget.Federico Jaramillo Martínez
2019-08-27Fixed #30727 -- Made Subquery pickle without evaluating their QuerySet.Andrew Brown
Subquery expression objects, when pickled, were evaluating the QuerySet objects saved in its _constructor_args attribute.
2019-08-26Fixed #29019 -- Added ManyToManyField support to REQUIRED_FIELDS.Hasan Ramezani
2019-08-26Refs #27804 -- Used subTest() in utils_tests/test_encoding.py.Jon Dufresne
2019-08-26Refs #30591 -- Fixed introspection of check and unique column constraints on ↵Mariusz Felisiak
MariaDB. Unnamed unique and check columns constraints have the same name as a column. Ensure uniqueness by using custom names. Thanks Adnan Umer for the report.
2019-08-26Refs #23919 -- Replaced super(ASGIHandler, self) with super().Jon Dufresne
2019-08-26Fixed typo in tests/prefetch_related/tests.py comment.Tim Gates
2019-08-23Fixed #29955 -- Added support for distance expression to the dwithin lookup.Simon Charette
This was missed when adding support to other distance lookups in refs #25499. Thanks Peter Bex for the report and Mariusz for testcases.
2019-08-23Fixed broken OracleDbshellTests tests after ↵Mariusz Felisiak
9386586f31b8a0bccf59a1bff647cd829d4e79aa.
2019-08-23Fixed #30507 -- Updated admin's jQuery to 3.4.1.Dulmandakh
2019-08-23Replaced subprocess commands by run() wherever possible.Claude Paroz
2019-08-23Fixed typos in test names and a comment.Min ho Kim
2019-08-23Fixed #30715 -- Fixed crash of ArrayField lookups on ArrayAgg annotations ↵Mariusz Felisiak
over AutoField.
2019-08-23Reduced code duplication in ArrayField's lookups.Mariusz Felisiak
2019-08-23Fixed typo in docs/ref/applications.txt.Ali Mirlou
2019-08-22Fixed #30064 -- Added form to validate admin search fields query input.Carlton Gibson
2019-08-22Fixed #30712 -- Allowed BLOB/TEXT defaults on MySQL 8.0.13+.Nasir Hussain
2019-08-22Added header to README.rst.Kshithij Iyer
2019-08-21Fixed #21039 -- Added AddIndexConcurrently/RemoveIndexConcurrently ↵Mads Jensen
operations for PostgreSQL. Thanks to Simon Charettes for review. Co-Authored-By: Daniel Tao <daniel.tao@gmail.com>
2019-08-21Fixed broken links and redirects in documentation.François Freitag
Removed reference to custom builds, feature removed in https://github.com/openlayers/openlayers/commit/8e6b3bba994f5908e51c492ac314240863178789.
2019-08-20Fixed #30695 -- Used relative path in default_storage docs example.Harrison88
2019-08-20Fixed #29667 -- Prohibited whitespaces in path() URLs.Hasan Ramezani
2019-08-20Corrected typo in search docs. (#11673)Dan Swain
2019-08-20Fixed #29979, Refs #17337 -- Extracted AutoField field logic into a mixin ↵Nick Pope
and refactored AutoFields. This reduces duplication by allowing AutoField, BigAutoField and SmallAutoField to inherit from IntegerField, BigIntegerField and SmallIntegerField respectively. Doing so also allows for enabling the max_length warning check and minimum/maximum value validation for auto fields, as well as providing a mixin that can be used for other possible future auto field types such as a theoretical UUIDAutoField.