django1/tests/migration_test_data_persist.../models.py

13 lines
221 B
Python
Raw Normal View History

from django.db import models
class Book(models.Model):
title = models.CharField(max_length=100)
class Unmanaged(models.Model):
title = models.CharField(max_length=100)
class Meta:
managed = False