summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2018-05-03Refs #29358 -- Corrected wording in primary key check message.Carlton Gibson
2018-05-03Fixed #29358 -- Added a system check to prohibit models with more than one ↵Hasan Ramezani
primary_key field.
2018-05-03Used double quotation marks for csrf form element.CHI Cheng
2018-04-28Refs #28859 -- Fixed "no data found" exception handling with cx_Oracle 6.3+.Mariusz Felisiak
2018-04-28Fixed #29350 -- Fix get_primary_key_column() method in sqlite3 backendZackary Troop
Thanks Tim Graham and Mariusz Felisiak for the reviews.
2018-04-27Fixed #29015 -- Added an exception if the PostgreSQL database name is too long.priyanshsaxena
2018-04-27Fixed #29367 -- Fixed model state on objects with a primary key created with ↵Oscar Esgalha
QuerySet.bulk_create().
2018-04-27Fixed #27480 -- Added cache.touch().Nicolas Noé
2018-04-25Fixed #29353 -- Made StaticFilesHandler return a 404 response when ↵Claude Paroz
settings.DEBUG is False
2018-04-23Fixed #28973 -- Silenced copying/linking messages in collectstatic's default ↵Claude Paroz
verbosity.
2018-04-23Refs #28312 -- Added an optimized __bool__() to ModelChoiceIterator.François Freitag
COUNT is more expensive than EXISTS; use the latter when possible.
2018-04-23Fixed #28312 -- Made ModelChoiceIterator.__len__() more memory-efficient.François Freitag
Instead of loading all QuerySet results in memory, count the number of entries. This adds an extra query when list() or tuple() is called on the choices (because both call __len__() then __iter__()) but uses less memory since the QuerySet results won't be cached. In most cases, the choices will only be iterated on, meaning that __len__() won't be called and only one query will be executed.
2018-04-22Refs #29131 -- Made ArrayField error messages index from 1 instead of 0.Hasan Ramezani
2018-04-21Fixed #29295 -- Fixed management command crash when using subparsers.Hasan Ramezani
Thanks Tim Graham for the fix.
2018-04-20Fixed #29247 -- Allowed blank model field choice to be defined in nested ↵orlnub123
choices.
2018-04-19Ref #23919 -- Replaced some os.path usage with pathlib.Path.Tom
2018-04-19Fixed #28600 -- Added prefetch_related() support to RawQuerySet.Adnan Umer
2018-04-19Fixed #29337 -- Added __len__() & __bool__() to RawQuerySet.Adnan Umer
2018-04-19Fixed #29339 -- Added result caching to RawQuerySet.Adnan Umer
2018-04-19Fixed #28574 -- Added QuerySet.explain().Tom
2018-04-17Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.Brett Cannon
2018-04-17Fixed #29324 -- Made Settings raise ImproperlyConfigured if SECRET_KEY is ↵Jon Dufresne
accessed and not set.
2018-04-17Simplified Oracle's DatabaseOperations.cache_key_culling_sql() with ↵Mariusz Felisiak
LIMIT/OFFSET.
2018-04-16Fixed #29253 -- Made method_decorator(list) copy attributes.Chris Jerdonek
2018-04-16Fixed #29274 -- Increased the number of common passwords from 1k to 20k.GS-14
2018-04-16Fixed #29330 -- Fixed crash when pickling BaseExpression.Daniel Miller
Regression in cfff2af02be40106d4759cc6f8bfa476ce82421c.
2018-04-13Fixed #27863 -- Added support for the SameSite cookie flag.Alex Gaynor
Thanks Alex Gaynor for contributing to the patch.
2018-04-13Fixed #29322 -- Made admin check all ModelAdmin fieldsets for duplicates.Matthias Kestenholz
2018-04-13Fixed #29286 -- Fixed column mismatch crash with QuerySet.values() or ↵Mariusz Felisiak
values_list() after combining an annotated and unannotated queryset with union(), difference(), or intersection(). Regression in a0c03c62a8ac586e5be5b21393c925afa581efaf. Thanks Tim Graham and Carlton Gibson for reviews.
2018-04-12Fixed #29320 -- Added an exception when an annotation alias matches a ↵Flávio Juvenal
ForeignKey attname.
2018-04-12Fixed #29296 -- Fixed crashes in admindocs when a view is a callable object.Paul Donohue
2018-04-11Fixed #29193 -- Prevented unnecessary foreign key drops when altering a ↵Jeremy Bowman
unique field. Stopped dropping and recreating foreign key constraints on other fields in the same table as the one which is actually being altered in an AlterField operation. Regression in c3e0adcad8d8ba94b33cabd137056166ed36dae0.
2018-04-11Fixed #29301 -- Made management command --help display command-specific ↵David Foster
arguments before common arguments.
2018-04-10Fixed #29307 -- Fixed inspectdb import paths for django.contrib.postgres fields.Alasdair Nicol
Thanks erindy for the report.
2018-04-07Fixed #28950 -- Fixed ArrayField.has_changed() for empty values.Vinay Karanam
2018-04-06Fixed #29289 -- Clarified PasswordResetTokenGenerator comment regarding the ↵Tim Graham
data hashed to generate tokens. Thanks Luke Plant for the draft text.
2018-04-05Fixed #29248 -- Renamed admin CSS class field-box to fieldBox.Faheel Ahmad
2018-04-04Fixed #27991 -- Added obj arg to InlineModelAdmin.has_add_permission().Jon Dufresne
Thanks Vladimir Ivanov for the initial patch.
2018-04-04Fixed #29288 -- Made {% widthratio %} assign to as var if an exception occurs.Jirka Vejrazka
2018-04-04Fixed #29284 -- Made ImageField render with accept="image/*"' HTML attribute.safu9
2018-04-04Fixed #25718 -- Made a JSONField lookup value of None match keys that have a ↵Dmitry Dygalo
null value.
2018-04-03Refs #24791 -- Made PostgreSQL's nodb connection use first PostgresSQL db ↵Mariusz Felisiak
when 'postgres' db isn't available. Thanks Tim Graham and Claude Paroz for reviews.
2018-04-03Refs #28643 -- Added Repeat database function.Mariusz Felisiak
Thanks Tim Graham and Nick Pope for reviews.
2018-04-03Fixed #29251 -- Added bytes to str conversion in LPad/RPad database ↵Mariusz Felisiak
functions on MySQL. Thanks Tim Graham for the review.
2018-04-03Refs #28577 -- Added check for HStoreField to prevent mutable default.Tim Graham
2018-04-02Fixed #29116 -- Fixed OpenLayersWidget deserialization ignoring the widget ↵Claude Paroz
map's SRID. Regression in 6ecccad711b52f9273b1acb07a57d3f806e93928.
2018-04-02Fixed #29273 -- Prevented initial selection of empty choice in multiple ↵Claude Paroz
choice widgets. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2018-04-02Removed unused regexes in django.core.management.templates.desigrammer
Unused since their introduction in a9a0f0b03f9a02deb03617bf7e9773a307d1328f.
2018-03-31Fixed #29279 -- Added renderer argument to ModelForm.Dan Watson
2018-03-31Fixed #29275 -- Made assertFormError() output "(actual errors: none)" ↵Chris Lamb
instead of "(actual errors: )".