- 28 Ock, 2017 1 kayıt (commit)
-
-
Tim Graham yazdı
This reverts commit 91023d79 as it increases memory usage for the test suite.
-
- 18 Ock, 2017 2 kayıt (commit)
-
-
Claude Paroz yazdı
Thanks Tim Graham for the review.
-
Claude Paroz yazdı
-
- 13 Ock, 2017 1 kayıt (commit)
-
-
Simon Charette yazdı
TestCase subclasses are wrapped in a transaction that prevents any data from being persisted between test runs andi thus don't require limiting the tables to be flushed to a subset of available apps like TransactionTestCase subclasses do.
-
- 11 Kas, 2016 1 kayıt (commit)
-
-
za yazdı
-
- 28 Haz, 2016 1 kayıt (commit)
-
-
Tim Graham yazdı
Also removed try/except/fail antipattern that hides exceptions.
-
- 06 Şub, 2015 1 kayıt (commit)
-
-
Tim Graham yazdı
-
- 17 Ock, 2015 1 kayıt (commit)
-
-
Tim Graham yazdı
-
- 24 Ara, 2013 3 kayıt (commit)
-
-
Alex Gaynor yazdı
-
Aymeric Augustin yazdı
Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
-
Aymeric Augustin yazdı
Invalidate properly the cache whenever all_models or app_configs change. This fixes some isolation issues in the test suite.
-
- 23 Ara, 2013 1 kayıt (commit)
-
-
Aymeric Augustin yazdı
-
- 22 Ara, 2013 1 kayıt (commit)
-
-
Aymeric Augustin yazdı
Reverted 4a56a93c.
-
- 17 Ara, 2013 3 kayıt (commit)
-
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
Since the original ones in django.db.models.loading were kept only for backwards compatibility, there's no need to recreate them. However, many internals of Django still relied on them. They were also imported in django.db.models. They never appear in the documentation, except a quick mention of get_models and get_app in the 1.2 release notes to document an edge case in GIS. I don't think that makes them a public API. This commit doesn't change the overall amount of global state but clarifies that it's tied to the app_cache object instead of hiding it behind half a dozen functions.
-
Aymeric Augustin yazdı
This commit doesn't contain any code changes; it's purely a refactoring.
-
- 03 Eyl, 2013 1 kayıt (commit)
-
-
Tim Graham yazdı
-
- 29 Tem, 2013 1 kayıt (commit)
-
-
Claude Paroz yazdı
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
-
- 14 Haz, 2013 1 kayıt (commit)
-
-
Aymeric Augustin yazdı
By avoiding to run syncdb with the full set of test models. Thanks Anssi for the idea.
-
- 26 Şub, 2013 2 kayıt (commit)
-
-
Florian Apolloner yazdı
-
Florian Apolloner yazdı
-
- 20 Ara, 2012 1 kayıt (commit)
-
-
Russell Keith-Magee yazdı
This is necessary because get_model() checks are case insensitive, and if the swapable check isn't, the swappable logic gets tied up in knots with models that are partially swapped out. Thanks to chris@cogdon.org for the report and extensive analysis, and Preston for his work on the draft patch.
-
- 24 Kas, 2012 2 kayıt (commit)
-
-
Russell Keith-Magee yazdı
This is required to allow the test to run without error under SQLite in the CI environment.
-
Russell Keith-Magee yazdı
Thanks to rizumu for the report.
-