| Age | Commit message (Collapse) | Author |
|
|
|
|
|
django.utils.unittest.* weren't touched -- they're only imported on Python 2.6.
|
|
|
|
admin's change view actually controls the display of the delete button. Thanks to rajeesh for the report, to patcoll for the patch, and to David Gouldin for the test.
|
|
invalid in the URLConf.
Thanks to abrahamson.j for the report, to guettli for initial work on the patch, and to David Gouldin for the new patch and test.
|
|
Thanks Aymeric Augustin for noticing the issue.
|
|
In particular, allow the '--' sequence to be present in string
values without being interpreted as comment marker.
Thanks Tim Chase for the report and shaleh for the initial patch.
|
|
|
|
They break Python 3.
|
|
Thanks Niels Busch for the initial patch.
|
|
Also removed the hasattr check when firing request_finished signal for
caches with a 'close' method. Should be safe to call `cache.close`
everywhere now
|
|
|
|
|
|
The qs.bulk_create() method did not work with large batches together
with SQLite3. This commit adds a way to split the bulk into smaller
batches. The default batch size is unlimited except for SQLite3 where
the batch size is limited to 999 SQL parameters per batch.
Thanks to everybody who participated in the discussions at Trac.
|
|
The erroneous message was user visible in values_list() calls.
Thanks to ojii for report and review, and to antoviaque for the patch.
|
|
Cleared aggregations on add_date_select method so only distinct dates
are returned when dealing with a QuerySet that contained aggregations.
That would cause the query set to return repeated dates because it
would look for distinct (date kind, aggregation) pairs.
|
|
Oracle can have problems with such columns. Fixed #17932 again.
Thanks to Vinay Sajip for the report.
|
|
|
|
- Use super().
- Don't poke at internals.
- Don't override methods for no reason.
|
|
Thanks Kevin Schaul for the initial patch.
|
|
Thanks mmoya at 8ksoft.com.ar for the report and Kevin Shaul for the
initial patch.
|
|
the cached staticfiles storage. Thanks to LukaszBalcerzak for the patch.
|
|
statements when using the cached staticfiles storage.
|
|
post processing with the cached staticfiles storage. Thanks to Brant Young for initial debugging.
|
|
result in a contextt variable. Many thanks to Andrei Antoukh for the initial patch.
|
|
|
|
|
|
Also fixed some test breakages introduced in last commit
|
|
|
|
|
|
Cleaned up tests introduced in f572ee0c65ec5eac9edb0cb3e35c96ec86d89ffb.
Thanks to Claude Paroz for suggesting the changes.
|
|
primary keys.
Thanks to josh.oosterman for the report and patch.
|
|
At least Oracle needs parentheses in negated where conditions, even if
there is only single condition negated. Fixed this by reverting to old
logic in that part of as_sql() and adding a comment about this.
I did not investigate why the parentheses are needed. The original
offending commit was bd283aa844b04651b7c8b4e85f48c6dced1678f0.
|
|
When the postgresql_psycopg2 backend was used with DB-level autocommit
mode enabled, after entering transaction management and then leaving
it, the isolation level was never set back to autocommit mode.
Thanks brodie for report and working on this issue.
|
|
- backends: supports_transactions()
- select_for_update tests
|
|
Made sure the WhereNode.as_sql() handles various EmptyResultSet and
FullResultSet conditions correctly. Also, got rid of the FullResultSet
exception class. It is now represented by '', [] return value in the
as_sql() methods.
|
|
Refs #16519.
|
|
Thanks mothsART for the report and the initial patch.
|
|
Thanks fourga38 for the report and hirokiky at gmail.com for the
initial patch.
|
|
Correctly configure NLS_SESSION_PARAMETERS to format Date and DateTime
on Oracle backend.
Thanks to Josh Smeaton for report & patch.
|
|
When a FileField value has been saved, a new validation should not
regenerate a new filename when checking the length. Refs #9893.
|
|
This commit tackles a couple of issues. First, in certain cases there
were some mixups if field.attname or field.name should be deferred.
Field.attname is now always used.
Another issue tackled is a case where field is both deferred by
.only(), and selected by select_related. This case is now an error.
A lot of thanks to koniiiik (Michal Petrucha) for the patch, and
to Andrei Antoukh for review.
|
|
Thanks aldaran for the patch.
|
|
|
|
Added ability to use receiver decorator in the following way:
@receiver([post_save, post_delete], sender=MyModel)
def signals_receiver(sender, **kwargs):
...
|
|
Thanks to ambv for the report
|
|
|
|
|
|
Previously, the closing token for the verbatim tag was specified as the
first argument of the opening token. As pointed out by Jannis, this is
a rather major departure from the core tag standard.
The new method reflects how you can give a specific closing name to
{% block %} tags.
|