from django.db import models

# Create your models here.
class Product(models.Model):
    title       = models.CharField(max_length=120)# max_length = required
    description = models.TextField(blank=True,null=True)
    price       = models.DecimalField(decimal_places=2,max_digits=10000)
    summary     = models.TextField(blank=False,null=True)
    fetured     = models.BooleanField() # null=True, default=True

from django.db import models

# Create your models here.
class Product(models.Model):
    title       = models.CharField(max_length=120)# max_length = required
    description = models.TextField(blank=True,null=True)
    price       = models.DecimalField(decimal_places=2,max_digits=10000)
    summary     = models.TextField(blank=False,null=True)
    fetured     = models.BooleanField() # null=True, default=True

# Create your models here. # max_length = required # null=True, default=True