summaryrefslogtreecommitdiff
path: root/lib/python2.7/site-packages/south/tests/non_managed/models.py
blob: e520d94b701788c1ccd055526f7a35901ec7923e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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