- 17 Eki, 2018 3 kayıt (commit)
-
-
Tom Dyson yazdı
-
Tim Graham yazdı
-
Florian Apolloner yazdı
Checked the following locations: * Model.save(): If there are parents involved, take the safe way and use transactions since this should be an all or nothing operation. If the model has no parents: * Signals are executed before and after the previous existing transaction -- they were never been part of the transaction. * if `force_insert` is set then only one query is executed -> atomic by definition and no transaction needed. * same applies to `force_update`. * If a primary key is set and no `force_*` is set Django will try an UPDATE and if that returns zero rows it tries an INSERT. The first case is completly save (single query). In the second case a transaction should not produce different results since the update query is basically a no-op then (might miss something though). * QuerySet.update(): no signals issued, single query -> no transaction needed. * Model/Collector.delete(): This one is fun due to the fact that is does many things at once. Most importantly though: It does send signals as part of the transaction, so for maximum backwards compatibility we need to be conservative. To ensure maximum compatibility the transaction here is removed only if the following holds true: * A single instance is being deleted. * There are no signal handlers attached to that instance. * There are no deletions/updates to cascade. * There are no parents which also need deletion.
-
- 16 Eki, 2018 2 kayıt (commit)
-
-
Çağıl yazdı
-
Mads Jensen yazdı
Follow up to 081e7871.
-
- 15 Eki, 2018 4 kayıt (commit)
-
-
Jon Dufresne yazdı
-
Jon Dufresne yazdı
-
oliver yazdı
Fixed #29725 -- Removed unnecessary join in QuerySet.count() and exists() on a many-to-many relation.
-
Mariusz Felisiak yazdı
-
- 14 Eki, 2018 2 kayıt (commit)
-
-
Taoufik yazdı
-
Peter Inglesby yazdı
-
- 13 Eki, 2018 1 kayıt (commit)
-
-
Mariusz Felisiak yazdı
-
- 12 Eki, 2018 4 kayıt (commit)
-
-
Tim Graham yazdı
-
Tim Graham yazdı
The HTML characters are unused because urlize is meant to be applied to plain text and these characters aren't properly detected (refs #29826). Angle brackets and quotes are present in word_split_re and therefore won't be used in WRAPPING_PUNCTUATION.
-
Tim Graham yazdı
-
Mac Chapman yazdı
-
- 11 Eki, 2018 3 kayıt (commit)
-
-
Adam Johnson yazdı
-
Patrik Sletmo yazdı
-
Mariusz Felisiak yazdı
-
- 10 Eki, 2018 4 kayıt (commit)
-
-
Andrea Rabbaglietti yazdı
-
Jon Dufresne yazdı
django.utils.http.urlsafe_base64_encode() now returns a string, not a bytestring. Since URLs are represented as strings, urlsafe_base64_encode() should return a string. All uses immediately decoded the bytestring to a string anyway. As the inverse operation, urlsafe_base64_decode() accepts a string.
-
Hasan Ramezani yazdı
-
Hasan Ramezani yazdı
-
- 09 Eki, 2018 3 kayıt (commit)
-
-
Sergey Fedoseev yazdı
-
Jon Dufresne yazdı
-
Jon Dufresne yazdı
-
- 08 Eki, 2018 2 kayıt (commit)
-
-
Jon Dufresne yazdı
-
Jon Dufresne yazdı
-
- 05 Eki, 2018 1 kayıt (commit)
-
-
Jon Dufresne yazdı
-
- 04 Eki, 2018 7 kayıt (commit)
-
-
Eric Brandwein yazdı
When using include() without namespaces of some urlpatterns that have an include() with namespace, the converters of the parent include() weren't being used to convert the arguments of reverse().
-
Kate Berry yazdı
-
Jon Dufresne yazdı
-
Jon Dufresne yazdı
-
Jon Dufresne yazdı
Support for passing bytestrings to the database API was removed in 301de774.
-
Jon Dufresne yazdı
contrib.sites is included in INSTALLED_APPS by SitemapTestsBase.
-
Sergey Fedoseev yazdı
-
- 03 Eki, 2018 4 kayıt (commit)
-
-
ovalseven8 yazdı
-
Adam Johnson yazdı
-
Jon Dufresne yazdı
SessionBase.decode() is the inverse operation to SessionBase.encode(). As SessionBase.encode() always returns a string, SessionBase.decode() should always be passed a string argument. Fixed the file backend, which was the only backend still passing a bytestring.
-
Jon Dufresne yazdı
The mysqlclient cursor attribute `_last_executed` is always stored as bytes. Decode it. TextField values are already type str. No need to decode.
-