- 21 Eyl, 2015 13 kayıt (commit)
-
-
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 7 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().
-
Markus Holtermann yazdı
Thanks Tim Graham for the review.
-
Markus Holtermann yazdı
The change partly goes back to the old behavior for forwards migrations which should reduce the amount of memory consumption (#24745). However, by the way the current state computation is done (there is no `state_backwards` on a migration class) this change cannot be applied to backwards migrations. Hence rolling back migrations still requires the precomputation and storage of the intermediate migration states. This improvement also implies that Django does not handle mixed migration plans anymore. Mixed plans consist of a list of migrations where some are being applied and others are being unapplied. Thanks Andrew Godwin, Josh Smeaton and Tim Graham for the review as well as everybody involved on the ticket that kept me looking into the issue.
-
- 18 Eyl, 2015 10 kayıt (commit)
-
-
fabrizio ettore messina yazdı
-
sujayskumar yazdı
-
Unai Zalakain yazdı
The ``item_enclosures`` hook returns a list of ``Enclosure`` objects which is then used by the feed builder. If the feed is a RSS feed, an exception is raised as RSS feeds don't allow multiple enclosures per feed item. The ``item_enclosures`` hook defaults to an empty list or, if the ``item_enclosure_url`` hook is defined, to a list with a single ``Enclosure`` built from the ``item_enclosure_url``, ``item_enclosure_length``, and ``item_enclosure_mime_type`` hooks.
-
Simon Charette yazdı
-
Iulia Chiriac yazdı
-
Mariusz Felisiak yazdı
-
Hynek Cernoch yazdı
-
Tim Graham yazdı
-
Thomas Orozco yazdı
This doesn't work in Django 1.8 but was fixed in Django 1.9 as a side effect of another change.
-
Tom Christie yazdı
-
- 17 Eyl, 2015 4 kayıt (commit)
-
-
Aric Coady yazdı
The issue was fixed on master due to the removal of ValuesQuerySet. Partial forwardport of 7d471fe6 from stable/1.8.x
-
Tim Graham yazdı
These steps are no longer needed as of pysqlite 2.7.0. https://github.com/ghaering/pysqlite/commit/76f34850be582249d9048e6acb2993943b07d31b
-
Aymeric Augustin yazdı
-
Tim Graham yazdı
-