| Age | Commit message (Collapse) | Author |
|
The & symbols which can come up in the secret key were
being escaped to &.
|
|
Fixed #18644 -- Made urlize trim trailing period followed by parenthesis
|
|
|
|
Previously, the flush was done before the test case execution and now
it is performed after it.
Other changes to the testing infrastructure include:
* TransactionTestCase now doesn't reset autoincrement sequences either
(previous behavior can achieved by using `reset_sequences`.)
With this, no implicit such reset is performed by any of the provided
TestCase classes.
* New ordering of test cases: All unittest tes cases are run first and
doctests are run at the end.
THse changes could be backward-incompatible with test cases that relied
on some kind of state being preserved between tests. Please read the
relevant sections of the release notes and testing documentation for
further details.
Thanks Andreas Pelme for the initial patch. Karen Tracey and Anssi
Kääriäinen for the feedback and Anssi for reviewing.
This also fixes #12408.
|
|
warnings.
|
|
|
|
Lots of functions were moved. Use explicit imports in all cases
to keey it easy to identify where the functions come from.
|
|
|
|
|
|
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.
|
|
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.
|
|
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
|
|
|