mirror of
https://github.com/Hopiu/django.git
synced 2026-03-24 01:40:28 +00:00
12 lines
347 B
Python
12 lines
347 B
Python
from django.db import models
|
|
|
|
|
|
class OtherAuthor(models.Model):
|
|
id = models.AutoField(primary_key=True)
|
|
name = models.CharField(max_length=255)
|
|
slug = models.SlugField(null=True)
|
|
age = models.IntegerField(default=0)
|
|
silly_field = models.BooleanField(default=False)
|
|
|
|
class Meta:
|
|
app_label = "migrated_unapplied_app"
|