summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2017-12-30Fixed #28117 -- Added a helpful message in loaddata when psycopg2 can't load ↵Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
a fixture due to NUL characters.
2017-12-30Used Decimal.scaleb() in backends.utils.format_number() and ↵Mariusz Felisiak
DecimalField.widget_attrs() to improve performance.
2017-12-30Fixed #14642 -- Fixed generic inline formsets crash when using save_as_new=True.Tomer Chachamu
2017-12-30Fixed #28912 -- Made EmailMessage.message() omit an empty To header.Jon Dufresne
2017-12-30Fixed #28971 -- Made EmailMessage.message() set Cc from headers dict if it ↵Jon Dufresne
exists.
2017-12-29Bumped minimum supported mysqlclient version to 1.3.7.Sergey Fedoseev
Follow up to ad9390bba27cb41da92f734db4d0e36ef3dfc58f.
2017-12-29Refs #28459 -- Used default date converter on SQLite for better performance.Sergey Fedoseev
See https://docs.python.org/3/library/sqlite3.html#default-adapters-and-converters.
2017-12-28Fixed #28926 -- Fixed loss of precision of big DurationField values on ↵Sergey Fedoseev
SQLite and MySQL.
2017-12-28Removed unnecessary trailing commas and spaces in various code.Mariusz Felisiak
2017-12-27Fixed #28841 -- Added ForcePolygonCW GIS function and deprecated ForceRHR.Sergey Fedoseev
2017-12-27Fixed #28967 -- Prevented Cast to FloatField from rounding to integer on MySQL.Sergey Fedoseev
2017-12-27Fixed #28714 -- Added system checks for invalid model field names in ↵hui shang
Meta.indexes. Thanks Gabriel for the report and Adam Johnson for the review.
2017-12-27Fixed #28958 -- Fixed admin changelist crash when using a query expression ↵Mariusz Felisiak
in the page's ordering. Thanks Tim Graham for the review.
2017-12-27Refs #28459 -- Improved performance of loading DurationField on SQLite and ↵Sergey Fedoseev
MySQL.
2017-12-27Removed unused variable in QuerySet._earliest_or_latest().Mads Jensen
2017-12-26Refs #28459 -- Improved performance of loading DecimalField on SQLite.Sergey Fedoseev
2017-12-26Fixed #28930 -- Simplified code with any() and all().Дилян Палаузов
2017-12-26Fixed #28944 -- Fixed crash when chaining values()/values_list() after ↵Ran Benita
QuerySet.select_for_update(of=()).
2017-12-26Fixed #28731 -- Added an error message when using an empty Q() in a When ↵Tim Martin
expression. Otherwise it generates invalid SQL.
2017-12-26Fixed #28956 -- Updated admin's jQuery to 3.2.1.Tim Graham
2017-12-26Refs #28956 -- Removed usage of jQuery's deprecated event methods in admin ↵Tim Graham
JavaScript.
2017-12-26Refs #28956 -- Removed usage of jQuery's deprecated .selector property in ↵Tim Graham
admin JavaScript.
2017-12-26Updated minified admin JavaScript for the latest closure compiler.Tim Graham
2017-12-23Fixed #28594 -- Removed Jython docs and specific codeClaude Paroz
Thanks Andrey Martyanov for the reporti, and Tim Graham for the review.
2017-12-22Fixed #28937 -- Allowed BinaryField to be editable=True.Cameron Curry
2017-12-22Fixed #28884 -- Fixed crash on SQLite when renaming a field in a model ↵Simon Charette
referenced by a ManyToManyField. Introspected database constraints instead of relying on _meta.related_objects to determine whether or not a table or a column is referenced on rename operations. This has the side effect of ignoring both db_constraint=False and virtual fields such as GenericRelation which aren't backend by database level constraints and thus shouldn't prevent the rename operations from being performed in a transaction. Regression in 095c1aaa898bed40568009db836aa8434f1b983d. Thanks Tim for the additional tests and edits, and Mariusz for the review.
2017-12-21Refs #28909 -- Simplifed code using unpacking generalizations.Nick Pope
2017-12-21Refs #23941 -- Prevented incorrect rounding of DecimalField annotations on ↵Sergey Fedoseev
SQLite.
2017-12-20Fixed #28947 -- Fixed crash when coercing a translatable URL pattern to str.Tilmann Becker
Regression in df41b5a05d4e00e80e73afe629072e37873e767a.
2017-12-20Fixed #28941 -- Fixed crash in testserver command startup.Tim Graham
Regression in 2b09e4c88e96cb03b29f5a6b0e4838ab4271e631.
2017-12-20Fixed #28932 -- Prevented Oracle from truncating trailing zeros in the ↵Sergey Fedoseev
fractional part of DecimalField. Fixes the test added in 6fd6d8383f48ea2fe4e058725fa30529a083e9a5. Regression in 7c1f3901bcdabb1340a621e7df9b24f3acd0d6f3.
2017-12-20Fixed #28934 -- Prevented Cast from truncating microseconds on Oracle.Mariusz Felisiak
2017-12-19Fixed #28727 -- Fixed Cast crash on SQLite when casting a Python ↵Mariusz Felisiak
date/datetime to Date/DateTimeField.
2017-12-19Simplified and improved performance of floatformat filter.Mariusz Felisiak
Thanks Sergey Fedoseev for the review.
2017-12-16Removed unused DatabaseOperations.date_interval_sql() on Oracle.Sergey Fedoseev
Unused since 5ca82e710e2f92b8c5114492205c8764918407d3.
2017-12-12Fixed #28915 -- Prevented SQLite from truncating trailing zeros in the ↵Sergey Fedoseev
fractional part of DecimalField. This reverts commit a146b65628e702a9a3ed5be21542ca45366fbb29 and adds a test for the regression.
2017-12-13Fixed #28898 -- Corrected admin check to allow a OneToOneField in ↵Rodrigo Pinheiro Marques de Araújo
ModelAdmin.autocomplete_fields.
2017-12-12Simplified SQLite converter for bool type.Sergey Fedoseev
2017-12-12Fixed #28896 -- Reallowed filtering a queryset with GeometryField=None.Sergey Fedoseev
Regression in 58da81a5a372a69f0bac801c412b57f3cce5f188.
2017-12-12Refs #27985 -- Reallowed using __exact=None as an alias for __isnull=True if ↵Sergey Fedoseev
a custom lookup class with lookup_name != None is registered as the exact lookup. Regression in 58da81a5a372a69f0bac801c412b57f3cce5f188 and prerequisite for refs #28896.
2017-12-11Fixed #28874 -- Prevented double escaping of errors on hidden form fields.Daniil
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-12-08Refs #27849 -- Removed empty Q() hack in filtered Aggregate.as_sql().Simon Charette
This required allowing WhereNode to be provided as When(condition). This was made possible by cf12257db23fa248c89a3da3f718aa01a50ca659.
2017-12-08Made session loading in cached_db engine more DRY.Jozef
2017-12-08Improved performance of loading DateTimeField on Oracle and MySQL.Sergey Fedoseev
2017-12-08Simplified widgets.Select._choice_has_empty_value().Sergey Fedoseev
2017-12-07Fixed #28906 -- Removed unnecessary bool() calls.Tim Graham
2017-12-07Fixed #28907 -- Removed unnecessary if statements.Tim Graham
2017-12-07Fixed #28791 -- Allowed commands that don't require settings to work if the ↵geekodour
DJANGO_SETTINGS_MODULE doesn't exist.
2017-12-07Refs #23919 -- Replaced super() calls for old-style classes.Nick Pope