summaryrefslogtreecommitdiff
path: root/tests/app_cache/models.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-12-24 12:25:17 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-12-24 12:25:17 +0100
commit1716b7ce5a02b2a77188dfea2d41e25dfa58821c (patch)
treef3422c0d6725f45756a3b9deb32406d319b8a72e /tests/app_cache/models.py
parente9e522a8e7455900a775678e5d6bc518a289b8d1 (diff)
Renamed AppCache to Apps.
Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
Diffstat (limited to 'tests/app_cache/models.py')
-rw-r--r--tests/app_cache/models.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/app_cache/models.py b/tests/app_cache/models.py
deleted file mode 100644
index 9306830f9c..0000000000
--- a/tests/app_cache/models.py
+++ /dev/null
@@ -1,17 +0,0 @@
-from django.apps.cache import AppCache
-from django.db import models
-
-# We're testing app cache presence on load, so this is handy.
-
-new_app_cache = AppCache()
-
-
-class TotallyNormal(models.Model):
- name = models.CharField(max_length=255)
-
-
-class SoAlternative(models.Model):
- name = models.CharField(max_length=255)
-
- class Meta:
- app_cache = new_app_cache