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
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
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
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
On Sat, Jan 23, 2010 at 7:54 PM, Atamert Ölçgen wrote:
> On Saturday 23 January 2010 13:24:44 chiranjeevi.muttoju wrote:
>> please reply if anybody know what it is..
>>
>> thank you..
>>
> It would be helpful if you send the code for the models you are trying to
> syncdb.
Indeed it would. The cod
On Saturday 23 January 2010 13:24:44 chiranjeevi.muttoju wrote:
> please reply if anybody know what it is..
>
> thank you..
>
It would be helpful if you send the code for the models you are trying to
syncdb.
--
Saygılarımla,
Atamert Ölçgen
-+-
--+
+++
www.muhuk.com
mu...@jabber.org
--
Hi,
when i'm synchronizing the database using sync db command it giving
the fallowing error.. could any one of you please help me..
Traceback (most recent call last):
File "manage.py",
7 matches
Mail list logo