from django.db import models


class Ebook(models.Model):
    title = models.CharField(max_length=50)
    price = models.FloatField()
    cover_url = models.CharField(max_length=2048)

    def __str__(self):
        return self.title


class CartItems(models.Model):
    title = models.CharField(max_length=50, null=True)
    price = models.FloatField(null=True)

91a5d49bb8ea12b1448e723f49ed276c92d9706e
<mask token>


class CartItems(models.Model):
    <mask token>
    <mask token>

<mask token>


class Ebook(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>


class CartItems(models.Model):
    title = models.CharField(max_length=50, null=True)
    price = models.FloatField(null=True)

<mask token>


class Ebook(models.Model):
    <mask token>
    <mask token>
    <mask token>

    def __str__(self):
        return self.title


class CartItems(models.Model):
    title = models.CharField(max_length=50, null=True)
    price = models.FloatField(null=True)

<mask token>


class Ebook(models.Model):
    title = models.CharField(max_length=50)
    price = models.FloatField()
    cover_url = models.CharField(max_length=2048)

    def __str__(self):
        return self.title


class CartItems(models.Model):
    title = models.CharField(max_length=50, null=True)
    price = models.FloatField(null=True)

from django.db import models


class Ebook(models.Model):
    title = models.CharField(max_length=50)
    price = models.FloatField()
    cover_url = models.CharField(max_length=2048)

    def __str__(self):
        return self.title


class CartItems(models.Model):
    title = models.CharField(max_length=50, null=True)
    price = models.FloatField(null=True)
