diff options
Diffstat (limited to 'lib/python2.7/site-packages/south/tests/non_managed/models.py')
-rw-r--r-- | lib/python2.7/site-packages/south/tests/non_managed/models.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/python2.7/site-packages/south/tests/non_managed/models.py b/lib/python2.7/site-packages/south/tests/non_managed/models.py new file mode 100644 index 0000000..e520d94 --- /dev/null +++ b/lib/python2.7/site-packages/south/tests/non_managed/models.py @@ -0,0 +1,16 @@ +# -*- coding: UTF-8 -*- + +""" +An app with a model that is not managed for testing that South does +not try to manage it in any way +""" +from django.db import models + +class Legacy(models.Model): + + name = models.CharField(max_length=10) + size = models.IntegerField() + + class Meta: + db_table = "legacy_table" + managed = False |