Not create in database when use the module in django
from django.db import models # Create your models here. from django.db import models # Create your models here. class AdminPerson(models.Model): product_name=models.CharField(max_length=50) category=models.CharField(max_length=50,default="") subcategory=models.CharField(max_length=50,default="") price=models.IntegerField(default=0) desc=models.CharField(max_length=300) pub_date=models.DateField() image=models.ImageField(upload_to="shop/images",default="") def __str__(self): return self.product_name class Post(models.Model): name=models.CharField(max_length=50) email=models.CharField(max_length=100) number=models.IntegerField(default=0) address=models.CharField(max_length=300) desc=models.CharField(max_length=3000) def __str__(self): return self.name