Re: What is this error mean and what can I do

2019-05-27 Thread Chandrashekhar Singh
Yes I think you should first do "makemigrations" and then run migrate On Sun, May 26, 2019, 6:15 PM Saeed Pooladzadeh wrote: > > Hi > > This is my model: > from django.db import models > from django.conf import settings > > > # Create your models here. > class Smodel(models.Model): > eid=mod

Re: What is this error mean and what can I do

2019-05-26 Thread Saeed Pooladzadeh
But I performed migration many time!! در دوشنبه 27 مهٔ 2019، ساعت 3:48:25 (UTC+4:30)، ramadhan ngallen نوشته: > > You got this error because you didn't perform migrations to create the > table in your database > > Run>> python manage.py makemigrations > > It will create migration number under m

Re: What is this error mean and what can I do

2019-05-26 Thread ramadhan ngallen
You got this error because you didn't perform migrations to create the table in your database Run>> python manage.py makemigrations It will create migration number under migrations. Then make sqlmigrations >> python manage.py sqlmigration   It will create sql scripts to create a table on your

What is this error mean and what can I do

2019-05-26 Thread Saeed Pooladzadeh
Hi This is my model: from django.db import models from django.conf import settings # Create your models here. class Smodel(models.Model): eid=models.IntegerField() elogin = models.CharField(max_length=8) epassword= models.CharField(max_length=8) elikeDay=models.IntegerField