from django.db import models

# Create your models here.
from django.urls import reverse

class Product(models.Model):

    product_title = models.CharField(max_length=100)
    product_price  = models.CharField(max_length=5)
    product_desc = models.CharField(max_length=100)

    def get_absolute_url(self):
        return reverse('modelforms:index')