mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
@@ -1,9 +1,11 @@
|
||||
from django.db import models
|
||||
|
||||
|
||||
class Book(models.Model):
|
||||
title = models.CharField(max_length=250)
|
||||
is_published = models.BooleanField(default=False)
|
||||
|
||||
|
||||
class BlogPost(models.Model):
|
||||
title = models.CharField(max_length=250)
|
||||
is_published = models.BooleanField(default=False)
|
||||
|
||||
Reference in New Issue
Block a user