- 23 Eyl, 2015 6 kayıt (commit)
-
-
Anton Baklanov yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
Without an explicit 'level', only messages at WARNING or higher are handled. This makes the config consistent with the docs which say, "The django catch-all logger sends all messages at the INFO level or higher to the console."
-
Tim Graham yazdı
Reverted "Fixes #24727 -- Prevented ClearableFileInput from masking exceptions on Python 2" and added a regression test. This reverts commit 5c412dd8.
-
Tim Graham yazdı
-
Matt Deacalion Stevens yazdı
-
- 22 Eyl, 2015 6 kayıt (commit)
-
-
Henry Jordan yazdı
-
Tim Graham yazdı
-
Alex Hill yazdı
-
Rik yazdı
-
Aymeric Augustin yazdı
Most likely this is a losing fight -- people seem to love this small convention -- but at least the reasons for avoiding it will be documented. Refs #25356.
-
Alasdair Nicol yazdı
-
- 21 Eyl, 2015 17 kayıt (commit)
-
-
Nick Johnson yazdı
-
Nick Johnson yazdı
-
Tim Graham yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
This commits lifts the restriction that the outermost atomic block must be declared with savepoint=False. This restriction was overly cautious. The logic that makes it safe not to create savepoints for inner blocks also applies to the outermost block when autocommit is disabled and a transaction is already active. This makes it possible to use the ORM after set_autocommit(False). Previously it didn't work because ORM write operations are protected with atomic(savepoint=False).
-
Aymeric Augustin yazdı
Kept the docstring short because these objects aren't very well defined and they're in the crosshairs of several refactorings.
-
Aymeric Augustin yazdı
The old names were downright confusing. Some seemed to mean the opposite of what the class actually did. The new names follow a consistent nomenclature: (Forward|Reverse)(ManyToOne|OneToOne|ManyToMany)Descriptor. I mentioned combinations that do not exist in the docstring in order to help people who would search for them in the code base.
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
Changed the poll / choices example to a more obvious parent / children. I think that reduces the cognitive load.
-
Aymeric Augustin yazdı
At 2800 lines it was the largest module in the django package. This commit brings it down to a more manageable 1620 lines. Very small changes were performed to uniformize import style.
-
ramez yazdı
-
Claude Paroz yazdı
Too much field exclusions in form's construct_instance() in _post_clean() could lead to some unexpected missing ForeignKey values. Fixes a regression from 45e04993. Refs #13776.
-
Matt Deacalion Stevens yazdı
The RegexURLResolver.resolve() method no longer returns a tuple. It has returned a ResolverMatch object since commit e0fb90b2.
-
Jani Tiainen yazdı
-
Alasdair Nicol yazdı
Thanks jwa and lamby for the suggestions, and timgraham and jarshwah for their reviews.
-
Moritz Sichert yazdı
-
Josh Smeaton yazdı
-
- 20 Eyl, 2015 6 kayıt (commit)
-
-
Claude Paroz yazdı
-
Raphael Merx yazdı
Fixed #25296 -- Prevented model related object cache pollution when create() fails due to an unsaved object.
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
-
- 19 Eyl, 2015 5 kayıt (commit)
-
-
Alasdair Nicol yazdı
-
Flavio Curella yazdı
-
Aymeric Augustin yazdı
Moved data loss check when assigning to a reverse one-to-one relation on an unsaved instance to Model.save(). This is exactly the same change as e4b813c0 but for reverse relations.
-
Unai Zalakain yazdı
-
Travis Jensen yazdı
urlparse() fails with an AttributeError ("'__proxy__' object has no attribute 'decode'") if reverse_lazy is used to look up the URL (this is exactly the same problem that caused ticket #18776). The solution is to use force_str() on the path before handing it to urlparse().
-