Ticket #13815: models.py

File models.py, 180 bytes (added by bpeschier, 5 years ago)

models for unittest

Line 
1from django.db import models
2
3class Outer(models.Model):
4    name    = models.CharField(max_length=1)
5
6class Inner(models.Model):
7    outer   = models.ForeignKey(Outer, null=True)
Back to Top