summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2019-11-28Fixed #31028 -- Used classList API to check, add and remove DOM classes.Jon Dufresne
Thanks to Claude Paroz for review.
2019-11-28Fixed #31042 -- Removed AdminSeleniumTestCase.get_css_value() in favor of ↵Jon Dufresne
Selenium .is_displayed(). All instances of AdminSeleniumTestCase.get_css_value() were used to inspect the display property.
2019-11-27Fixed #30975 -- Replaced custom get_select_option with Selenium's ↵Johannes Hoppe
select_by_value.
2019-11-27Fixed #30973 -- Converted selenium tests wait_page_loaded to context manager.Johannes Hoppe
2019-11-27Fixed #30425 -- Handled jinja2.TemplateSyntaxError when rendering a template.Hasan Ramezani
Jinja raises jinja2.TemplateSyntaxError in render() not in get_template() when it's in an included template.
2019-11-27Fixed #30803 -- Allowed comma separators for milliseconds in ↵Farhaan Bukhsh
django.utils.dateparse functions. Co-Authored-By: Ben Wilber <benwilber@gmail.com>
2019-11-27Refs #30803 -- Allowed comma separators for decimal fractions in ↵Farhaan Bukhsh
parse_duration().
2019-11-27Fixed #31027 -- Replaced .getAttribute()/.setAttribute() usage with DOM ↵Jon Dufresne
properties.
2019-11-26Fixed #31031 -- Fixed data loss in admin changelist view when formset's ↵Baptiste Mispelon
prefix contains regex special chars. Regression in b18650a2634890aa758abae2f33875daa13a9ba3.
2019-11-25Fixed #31013 -- Removed jQuery usage in SelectBox.js.Johannes Hoppe
2019-11-25Fixed #31002 -- Fixed GIS lookups crash against a subquery annotation.Simon Charette
Thanks Vasileios Bouzas for the report.
2019-11-25Fixed #27914 -- Fixed serialization of nested classes in migrations.John Bowen
2019-11-25Removed unused unencoded_ampersands_re regex.Baptiste Mispelon
Unused since 8b81dee60c1533e714a310fa5c3907356042a64c.
2019-11-22Fixed #30996 -- Added AsWKB and AsWKT GIS functions.Sergey Fedoseev
2019-11-22Fixed #9762 -- Made DateFormat.r() locale-independent.Baptiste Mispelon
Thanks to Antonio Melé for the original report all those years ago and to all the contributors who helped along the way.
2019-11-22Refs #26281 -- Added a helpful error message for an invalid "r" specifier to ↵Baptiste Mispelon
dateformat.format().
2019-11-22Fixed #8467 -- Prevented crash when adding existent m2m relation with an ↵Simon Charette
invalid type. This was an issue anymore on backends that allows conflicts to be ignored (Refs #19544) as long the provided values were coercible to the expected type. However on the remaining backends that don't support this feature, namely Oracle, this could still result in an IntegrityError. By attempting to coerce the provided values to the expected types in Python beforehand we allow the existing value set intersection in ManyRelatedManager._get_missing_target_ids to prevent the problematic insertion attempts. Thanks Baptiste Mispelon for triaging this old ticket against the current state of the master branch.
2019-11-21Fixed #31012 -- Reverted "Fixed #29056 -- Fixed HTML5 validation of required ↵Carlton Gibson
SelectDateWidget." This reverts commit f038214d917c982613f5a15db8dfe325b1f7479b. The initial issue was incorrect. Django 2.2, and before, did not generate invalid HTML as reported. With f03821 in place invalid HTML was generated. Thanks to Kevin Brown for follow-up report and investigation.
2019-11-21Fixed #30413 -- Fixed test database signature on SQLite when test database ↵Farhaan Bukhsh
name is provided. Previously, the same signature was created for multiple in-memory databases on SQLite when they had tests databases names DATABASES['TEST']['NAME'].
2019-11-21Simplified TemplateDetailView with pathlib.Path.read_text().Jon Dufresne
2019-11-21Refs #25367 -- Made Query.build_filter() raise TypeError on non-conditional ↵Simon Charette
expressions.
2019-11-21Fixed #30484 -- Added conditional expressions support to CheckConstraint.Simon Charette
2019-11-21Refs #25367 -- Moved conditional expression wrapping to the Exact lookup.Simon Charette
2019-11-21Refs #11964 -- Removed SimpleCol in favor of Query(alias_cols).Simon Charette
This prevent having to pass simple_col through multiple function calls by defining whether or not references should be resolved with aliases at the Query level.
2019-11-20Fixed #25388 -- Added an option to allow disabling of migrations during test ↵Jon Dufresne
database creation.
2019-11-19Fixed #30981 -- Fixed admin changelist crash when using F() or OrderBy() ↵Hasan Ramezani
expressions in admin_order_field.
2019-11-19Fixed #27272 -- Added an on_delete RESTRICT handler to allow cascading ↵Daniel Izquierdo
deletions while protecting direct ones.
2019-11-19Refs #27272 -- Added Collector.add_dependency().Daniel Izquierdo
2019-11-19Fixed #30987 -- Added models.PositiveBigIntegerField.Caio Ariede
2019-11-19Removed unnecessary numeric indexes in format strings.Jon Dufresne
2019-11-18Fixed #30994 -- Added Oracle support for AsGeoJSON GIS function.Sergey Fedoseev
2019-11-18Replaced unnecessary str()/bytes() calls with literals.Jon Dufresne
2019-11-18Removed unnecessary parentheses in various code.Jon Dufresne
2019-11-18Fixed #30988 -- Deprecated the InvalidQuery exception.Simon Charette
It was barely documented without pointers at its defining location and was abused to prevent misuse of the QuerySet field deferring feature.
2019-11-18Fixed #30989 -- Removed unimplemented B time format.Baptiste Mispelon
It's never been documented and has always raised a NotImplementedError.
2019-11-18Simplified DateFormat.W() and z().Baptiste Mispelon
2019-11-18Fixed #30990 -- Fixed example output in 'z' date format docs.Baptiste Mispelon
2019-11-18Replaced QueryWrapper single usage with RawSQL.Simon Charette
2019-11-18Fixed #30986 -- Fixed queryset crash when filtering against boolean RawSQL ↵Mariusz Felisiak
expressions on Oracle.
2019-11-15Fixed #29808 -- Fixed initial migration detection when identifiers are ↵Hasan Ramezani
case-insensitive. Thanks Simon Charette for the review.
2019-11-15Refs #29808 -- Optimized MigrationExecutor.detect_soft_applied().Hasan Ramezani
Use set() for iterables used only for containment checks. Simplify column checks O(n) instead of O(2n). Thanks Simon Charette for an idea.
2019-11-14Fixed #29916 -- Added lower_inc, lower_inf, upper_inc, and upper_inf lookups ↵Dulmandakh
for RangeFields. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-11-14Fixed #30759 -- Made cache.delete() return whether it succeeded.daniel a rios
Thanks Simon Charette for the review.
2019-11-13Fixed #30941 -- Reverted "Simplified AuthenticationMiddleware a bit."Mariusz Felisiak
This reverts commit 2f010795e690550c8c6f56b3924c0f629cacb33b.
2019-11-13Fixed #30971 -- Prevented Query.resolve_lookup_value() from coercing list ↵George Marshall
values to tuples. Regression in 8a281aa7fe76a9da2284f943964a9413697cff1f.
2019-11-12Fixed #30405 -- Fixed source code mismatch crash in ExceptionReporter.Hasan Ramezani
2019-11-12Refs #30405 -- Added ExceptionReporter._get_source().Hasan Ramezani
2019-11-11Fixed #30977 -- Optimized PasswordResetForm.save() a bit.Hasan Ramezani
Moved site variables assignment outside of the loop.
2019-11-08Fixed #24858 -- Added support for get_FOO_display() to ArrayField and ↵Hasan Ramezani
RangeFields. _get_FIELD_display() crashed when Field.choices was unhashable.
2019-11-08Fixed #30961 -- Fixed spaces in columns list SQL generated for indexes.Hannes Ljungberg