mirror of
https://github.com/django/django.git
synced 2024-12-28 20:16:19 +00:00
8 lines
243 B
Python
8 lines
243 B
Python
from django.db import models
|
|
|
|
|
|
class SillyModel(models.Model):
|
|
silly_field = models.BooleanField(default=False)
|
|
silly_tribble = models.ForeignKey("migrations.Tribble", models.CASCADE)
|
|
is_trouble = models.BooleanField(default=True)
|