- 17 Kas, 2014 1 kayıt (commit)
-
-
Julien Phalip yazdı
-
- 16 Kas, 2014 19 kayıt (commit)
-
-
Aymeric Augustin yazdı
They were deprecated in Django 1.2 but not all the supporting code was removed in Django 1.4. Since the remaining code was unlikely to be functional (pun intended) e.g. it would crash unless the loader function had an is_usable attribute, this commit completes the removal immediately instead of starting another deprecation path.
-
Aymeric Augustin yazdı
This ensures that enabling the cached loader doesn't change behavior. (Before this commit, it did when the list contained unusable loaders.)
-
Aymeric Augustin yazdı
This provides the opportunity to move utility functions specific to the Django Template Language outside of django.template.loader.
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
It didn't account for class-based template loaders.
-
Aymeric Augustin yazdı
They can be replaced with override_settings and that makes the corresponding tests much more obvious.
-
Aymeric Augustin yazdı
This change has the nice side effect of removing code that ran at import time and depended on the app registry at module level -- a notorious cause of AppRegistryNotReady exceptions.
-
Aymeric Augustin yazdı
It didn't do anything, wasn't documented and wasn't used anywhere.
-
Aymeric Augustin yazdı
Since it isn't branded as a test utility any more and could be used for other purposes than test code, that prefix no longer makes sense. It wasn't used anywhere either.
-
Aymeric Augustin yazdı
Reformatted the code of base.Loader according to modern standards. Turned the test template loader into a regular locmem.Loader -- but didn't document it. Added a normal deprecation path for BaseLoader which is a public API. Added an accelerated deprecation path for TestTemplateLoader which is a private API.
-
Aymeric Augustin yazdı
That commit contained a mistake that resulted in the use_cached_loader option of override_with_test_loader being ignored. As a consequence some configurations weren't exercised any more by the test suite.
-
Karen Tracey yazdı
-
Erik Romijn yazdı
-
Josh Smeaton yazdı
-
Julien Phalip yazdı
Fixes a race condition in the documentation. The example for django.contrib.admin.ModelAdmin.get_form was modifying self.exclude. However, since ModelAdmin instances are global and have no thread- or request-locality, this is not safe for concurrent requests. This updated documentation demonstrates a safe method to override admin forms on a per-request basis.
-
Marc Tamlyn yazdı
Fixed #23585 - Corrected internal comment.
-
Marc Tamlyn yazdı
Fixed #23690 - fixed examples of manual rendering of form fields
-
Tim Graham yazdı
-
Simon Charette yazdı
-
- 15 Kas, 2014 20 kayıt (commit)
-
-
Claude Paroz yazdı
-
Peter Sagerson yazdı
The example for django.contrib.admin.ModelAdmin.get_form modifies self.exclude. However, since ModelAdmin instances are global and have no thread- or request-locality, this is not safe for concurrent requests.[1] This updated documentation demonstrates a safe method to override admin forms on a per-request basis. [1] https://groups.google.com/forum/#!topic/django-users/AmoUDtEefyA
-
Andreas Madsack yazdı
Fixed #23808 -- Documented that migrations table is created when using runserver without migrating first.
-
Danilo Bargen yazdı
-
Berker Peksag yazdı
-
Fabio Natali yazdı
-
Carl Meyer yazdı
Fixes #23837: Replace list with deque in migration-planner for improved performance.
-
Claude Paroz yazdı
Thanks Reinout van Rees for the review.
-
Yigit Guler yazdı
-
Andrew Godwin yazdı
-
Erik Romijn yazdı
-
Marc Tamlyn yazdı
fixed #23834 -- added test and fix to check for default null on ArrayField
-
Niels Kouwenhoven yazdı
-
Yigit Guler yazdı
-
Daan Vielen yazdı
-
Tim Graham yazdı
This commit broke the tests on Python 3. This reverts commit 13d613f8.
-
Josh Smeaton yazdı
-
Andrew Godwin yazdı
Fixed #23827 -- TZ behavior in Storage API ref doc
-
Andrew Godwin yazdı
Use topological sort for migration operation dependency resolution
-
Klaas van Schelven yazdı
rather than an ad-hoc algorithm
-