django1/tests/migrations/migrations_test_apps/lookuperror_b/models.py

14 lines
188 B
Python

from django.db import models
class B1(models.Model):
pass
class B2(models.Model):
a1 = models.ForeignKey('lookuperror_a.A1', models.CASCADE)
class B3(models.Model):
pass