summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-10[3.0.x] Bumped version for 3.0 alpha 1 release.3.0a1Carlton Gibson
2019-09-10[3.0.x] Bumped next Django version in docs config.Carlton Gibson
2019-09-10Updated man page for 3.0 alpha release.Carlton Gibson
2019-09-10Fixed #30754 -- Prevented inclusion of aliases in partial index conditions.Simon Charette
SQLite doesn't repoint table aliases in partial index conditions on table rename which breaks the documented table alteration procedure. Thanks Pēteris Caune for the report.
2019-09-10Finalised release notes for 3.0 alpha release.Carlton Gibson
* Removed empty sections * Corrected some typos and wrapping errors.
2019-09-09Fixed #28107 -- Added ↵Vojtech Bocek
DatabaseFeatures.allows_group_by_selected_pks_on_model() to allow enabling optimization for unmanaged models.
2019-09-09Refs #28107 -- Doc'd how to subclass an existing database engine.Vojtech Bocek
2019-09-09Fixed #29406 -- Added support for Referrer-Policy header.Nick Pope
Thanks to James Bennett for the initial implementation.
2019-09-09Refs #30426 -- Moved release notes into separate security section.Nick Pope
2019-09-09Standardized links for headers in security middleware documentation.Nick Pope
2019-09-09Refs #29444 -- Allowed returning multiple fields from INSERT statements on ↵Johannes Hoppe
PostgreSQL. Thanks Florian Apolloner, Tim Graham, Simon Charette, Nick Pope, and Mariusz Felisiak for reviews.
2019-09-09Refs #29444 -- Fixed DateField constructor in ↵Johannes Hoppe
db.backends.oracle.utils.InsertVar.
2019-09-09Fixed #30757 -- Added a system check to ensure max_length fits the longest ↵Nick Pope
choice.
2019-09-09Fixed #30767 -- Improved references to deployment documentation.Katie McLaughlin
* Increased tocdepth to expose more complexity of topics. * Ensured deployment checklist is linked on main doc page.
2019-09-09Fixed #30426 -- Changed X_FRAME_OPTIONS setting default to DENY.Claude Paroz
2019-09-08Updated translation catalogsClaude Paroz
2019-09-06Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵Tobias Kunze
involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review.
2019-09-06Fixed DatabaseFeatures.can_introspect_check_constraints on MariaDB < ↵Mariusz Felisiak
10.2.22, 10.3.0 - 10.3.9. Regression in e2c6a0858d7d9ad85eda353076a5b46608b704a9.
2019-09-06Fixed #30763 -- Fixed management commands when using required mutually ↵Hasan Ramezani
exclusive groups.
2019-09-05Moved release note for refs #30158 from deprecated to backwards incompatible ↵Mariusz Felisiak
changes.
2019-09-05Fixed typo in docs/internals/contributing/writing-documentation.txt.Mariusz Felisiak
2019-09-05Refs #30573 -- Noted to avoid "simple" & co. in Writing Style guide.Carlton Gibson
Co-authored-by: Tobias Kunze <r@rixx.de>
2019-09-05Fixed #30750 -- Added support for check constraints on MySQL 8.0.16+.Mariusz Felisiak
2019-09-05Made SchemaTests.test_alter_db_table_case run only on backends where table ↵Hasan Ramezani
names are case-insensitive.
2019-09-04Fixed #27910 -- Added enumeration helpers for use in Field.choices.Shai Berger
These classes can serve as a base class for user enums, supporting translatable human-readable names, or names automatically inferred from the enum member name. Additional properties make it easy to access the list of names, values and display labels. Thanks to the following for ideas and reviews: Carlton Gibson, Fran Hrženjak, Ian Foote, Mariusz Felisiak, Shai Berger. Co-authored-by: Shai Berger <shai@platonix.com> Co-authored-by: Nick Pope <nick.pope@flightdataservices.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
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.