Product-Manager/z2/product-manager-backend/products/models.py

8 lines
206 B
Python
Raw Normal View History

2022-04-25 12:07:08 +00:00
from django.db import models
class Product(models.Model):
title = models.CharField(max_length=200)
image = models.TextField(max_length=20000000)
likes = models.PositiveIntegerField(default=0)