mirror of
https://github.com/django/django.git
synced 2024-12-26 19:16:11 +00:00
11 lines
308 B
Python
11 lines
308 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
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)
|