from django.db import models
from product.models import Product
from registered_user.models import Customer


class ProductLists(models.Model):
    name = models.CharField(max_length=100, null=False)
    customer = models.ForeignKey(Customer, on_delete=models.CASCADE)


class ListedProducts(models.Model):
    product_list = models.ForeignKey(ProductLists, on_delete=models.CASCADE)
    product = models.ForeignKey(Product, on_delete=models.CASCADE)

8645a7bf4067166d8e04240b5a92a2f3f97cfa9f
<mask token>


class ListedProducts(models.Model):
    product_list = models.ForeignKey(ProductLists, on_delete=models.CASCADE)
    product = models.ForeignKey(Product, on_delete=models.CASCADE)

<mask token>


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


class ListedProducts(models.Model):
    product_list = models.ForeignKey(ProductLists, on_delete=models.CASCADE)
    product = models.ForeignKey(Product, on_delete=models.CASCADE)

<mask token>


class ProductLists(models.Model):
    name = models.CharField(max_length=100, null=False)
    customer = models.ForeignKey(Customer, on_delete=models.CASCADE)


class ListedProducts(models.Model):
    product_list = models.ForeignKey(ProductLists, on_delete=models.CASCADE)
    product = models.ForeignKey(Product, on_delete=models.CASCADE)

from django.db import models
from product.models import Product
from registered_user.models import Customer


class ProductLists(models.Model):
    name = models.CharField(max_length=100, null=False)
    customer = models.ForeignKey(Customer, on_delete=models.CASCADE)


class ListedProducts(models.Model):
    product_list = models.ForeignKey(ProductLists, on_delete=models.CASCADE)
    product = models.ForeignKey(Product, on_delete=models.CASCADE)
