1
0
mirror of https://github.com/django/django.git synced 2025-03-01 12:24:31 +00:00
django/tests/app_cache/models.py
Aymeric Augustin 2fef9e5375 Moved apps back in the toplevel django namespace.
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
2013-12-22 11:39:55 +01:00

18 lines
372 B
Python

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