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')
afd1d0bfbd0112bcbc7ec4406bc01c868c25c10d
<mask token>


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

<mask token>


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

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

<mask token>


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')

from django.db import models
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')

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')