django/tests/migration_test_data_persist.../models.py

13 lines
221 B
Python

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