from django.db import models
from .item_post import ItemPost


class BookList(models.Model):

    post = models.ForeignKey(
            "ItemPost",
            )

    bookname = models.CharField(
            max_length=200,
            )

    bookprice = models.CharField(
            max_length=200,
            )

    is_soldout = models.BooleanField(
            default=False,
            )

from django.db import models
from .item_post import ItemPost


class BookList(models.Model):

    post = models.ForeignKey(
            "ItemPost",
            )

    booknumber = models.IntegerField(
            )

    bookname = models.CharField(
            max_length=200,
            )

    bookprice = models.CharField(
            max_length=200,
            )

    is_soldout = models.BooleanField(
            default=False,
            )

add new field named booknumber in book_list.py