2014-06-13 01:21:26 +08:00
|
|
|
from django.db import models
|
|
|
|
|
|
|
|
|
|
|
|
class SillyModel(models.Model):
|
|
|
|
silly_field = models.BooleanField(default=False)
|
2015-07-22 22:43:21 +08:00
|
|
|
silly_tribble = models.ForeignKey("migrations.Tribble", models.CASCADE)
|
2014-06-13 01:21:26 +08:00
|
|
|
is_trouble = models.BooleanField(default=True)
|