Re: error while migrating

2019-04-30 Thread Kasper Laudrup
On April 30, 2019 3:07:05 PM GMT+02:00, RAJA MISHRA wrote: > django.setup() >NameError: name 'django' is not defined > >-- >You received this message because you are subscribed to the Google >Groups "Django users" group. >To unsubscribe from this group and stop receiving emails from it, send >an

error while migrating

2019-04-30 Thread RAJA MISHRA
django.setup() NameError: name 'django' is not defined -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to thi

Re: getting an error while migrating the db

2019-04-16 Thread Shubham Joshi
https://github.com/shubham1507/school error (School) snj@snj-ThinkPad-T440p:~/School$ python manage.py createsuperuser Username: shubham311507 Traceback (most recent call last): File "/home/snj/.virtualenvs/School/lib/python3.5/site-packages/django/db/backends/utils.py", line 84, in _execute

Re: getting an error while migrating the db

2019-04-16 Thread Vivek Jha
Send me the snap On Tue, 16 Apr 2019, 13:38 Shubham Joshi, wrote: > same error still > > On Tue, Apr 16, 2019 at 1:36 PM Vivek Jha wrote: > >> Delete all the old migrations and remigrate >> >> On Tue, 16 Apr 2019, 13:34 Shubham Joshi, wrote: >> >>> Hello Vivek can you help me in this >>> >>> I

Re: getting an error while migrating the db

2019-04-16 Thread Shubham Joshi
same error still On Tue, Apr 16, 2019 at 1:36 PM Vivek Jha wrote: > Delete all the old migrations and remigrate > > On Tue, 16 Apr 2019, 13:34 Shubham Joshi, wrote: > >> Hello Vivek can you help me in this >> >> I am referring >> https://wsvincent.com/django-rest-framework-user-authentication-t

Re: getting an error while migrating the db

2019-04-16 Thread Vivek Jha
Delete all the old migrations and remigrate On Tue, 16 Apr 2019, 13:34 Shubham Joshi, wrote: > Hello Vivek can you help me in this > > I am referring > https://wsvincent.com/django-rest-framework-user-authentication-tutorial/ > > changed app name 'users' to accounts > > > got an errror > > > Sch

Re: getting an error while migrating the db

2019-04-16 Thread Shubham Joshi
Hello Vivek can you help me in this I am referring https://wsvincent.com/django-rest-framework-user-authentication-tutorial/ changed app name 'users' to accounts got an errror School) snj@snj-ThinkPad-T440p:~/School$ python manage.py createsuperuser Username: shubham311507 Traceback (most rec

Re: getting an error while migrating the db

2019-04-16 Thread Vivek Jha
Welcome On Tue, 16 Apr 2019, 13:03 Shubham Joshi, wrote: > Ya it worked for me thanks > > On Tuesday, April 16, 2019 at 12:59:10 PM UTC+5:30, Vivek Jha wrote: >> >> python manage.py migrate --fake >> >> On Tue, 16 Apr 2019, 12:57 Shubham Joshi, wrote: >> >>> >>>

Re: getting an error while migrating the db

2019-04-16 Thread Shubham Joshi
Ya it worked for me thanks On Tuesday, April 16, 2019 at 12:59:10 PM UTC+5:30, Vivek Jha wrote: > > python manage.py migrate --fake > > On Tue, 16 Apr 2019, 12:57 Shubham Joshi, > wrote: > >> >> ---error-- >> >> (

Re: getting an error while migrating the db

2019-04-16 Thread Vivek Jha
python manage.py migrate --fake On Tue, 16 Apr 2019, 12:57 Shubham Joshi, wrote: > > ---error-- > > (School) snj@snj-ThinkPad-T440p:~/School$ python manage.py > migrateOperations to perform: > Apply all migrati

getting an error while migrating the db

2019-04-16 Thread Shubham Joshi
---error-- (School) snj@snj-ThinkPad-T440p:~/School$ python manage.py migrateOperations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: Applying auth.0010_alter_group_

Re: error while migrating from 1.1 to 1.2

2010-06-07 Thread Filip Gruszczyński
It seems that some old 1.1.2 eggs must have been messing with me. I have removed them all and it works now just right. -- Filip Gruszczyński -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@goog

Re: error while migrating from 1.1 to 1.2

2010-06-07 Thread Filip Gruszczyński
OK, it seems, that django 1.2 simply doesn't work on my machine. I have created an empty project and run ./manage shell and got the same error. I have kept generated settings and only changed the following: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postg

error while migrating from 1.1 to 1.2

2010-06-07 Thread Filip Gruszczyński
I am trying to migrate our project from 1.1 to 1.2, but I get following error: Traceback (most recent call last): File "./manage.py", line 11, in execute_manager(settings) File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 438, in execute_manager u