diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2013-05-09 15:59:26 +0100 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2013-05-09 15:59:26 +0100 |
| commit | 75bf394d86b802de670502400e9ab7eca2808935 (patch) | |
| tree | af9d3c3f66a70a5ec110124ba3ec1a291758a8d9 /tests/app_cache/models.py | |
| parent | 104ad0504b4b123277b3f0e7c0be7fb9e84c2d72 (diff) | |
Rest of the _meta.app_cache stuff. Schema tests work now.
Diffstat (limited to 'tests/app_cache/models.py')
| -rw-r--r-- | tests/app_cache/models.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/app_cache/models.py b/tests/app_cache/models.py new file mode 100644 index 0000000000..1b4d33c2f9 --- /dev/null +++ b/tests/app_cache/models.py @@ -0,0 +1,17 @@ +from django.db import models +from django.db.models.loading import BaseAppCache + +# We're testing app cache presence on load, so this is handy. + +new_app_cache = BaseAppCache() + + +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 |
