Migration error

2012-06-10 Thread Raitucarp
'ENGINE': 'django.db.backends.sqlite3' I have a model such this: class Ngobrol(models.Model): title = models.CharField(max_length=200, blank = True) message = models.TextField('Message') linkp = models.URLField(max_length=255, blank = True) meta_data = models.Text

migration error

2019-12-12 Thread Leó Horváth
Hi guys! When I Try to make a migration my console says the following: "ValueError: Related model 'database_manager.Name' cannot be resolved" however, "database_manager" does not exist anymore, I renamed it to "database". this is my project repo if it helps: https://github.com/leocsi/salesgrade

Re: Migration error

2012-06-10 Thread Hendrik Speidel
Hi Raitucarp, you can use the convert_to_south command to convert an existing app (with existing database tables) to south. In your case a manage.py migrate ngobrol 0001 --fake followed by a "manage.py migrate ngobrol" should fix your issue (given that you ran south initially, before changin

Re: Migration error

2012-06-10 Thread Raitucarp
@henzk I still get the error, when access admin: DatabaseError at /admin/ngobrol/ngobrol/ no such column: ngobrol_ngobrol.aa -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.co

Re: Migration error

2012-06-10 Thread Raitucarp
Remember that I using sqlite3. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/_AylyCZQ0yEJ. To post to this group, send email to django-users@googlegroups

Re: Migration error

2012-06-10 Thread Hendrik Speidel
Hi again, can you verify that there are two migration scripts in your migrations folder? if yes, did you run manage.py migrate after the initial fake migration? if not, i speculate, that you ran south only after you already changed the models to include the aa column. South needs to know the i

Re: Migration error

2012-06-11 Thread Melvyn Sopacua
On 10-6-2012 21:00, Raitucarp wrote: > 'ENGINE': 'django.db.backends.sqlite3' > > I have a model such this: > > class Ngobrol(models.Model): > title = models.CharField(max_length=200, blank = True) > message = models.TextField('Message') > linkp = models.URLField(max_leng

Re: migration error

2019-12-12 Thread DANIEL URBANO DE LA RUA
if your are using sqlite db and is empty delete it and remake migrations El jue., 12 dic. 2019 a las 18:54, Leó Horváth () escribió: > Hi guys! > > When I Try to make a migration my console says the following: > "ValueError: Related model 'database_manager.Name' cannot be resolved" > > however, "

Re: migration error

2019-12-12 Thread DANIEL URBANO DE LA RUA
if no https://docs.djangoproject.com/en/3.0/topics/migrations/#django.db.migrations.Migration.initial or https://simpleisbetterthancomplex.com/tutorial/2016/07/26/how-to-reset-migrations.html all this choices you have El jue., 12 dic. 2019 a las 20:10, DANIEL URBANO DE LA RUA (< dannybombas...@gm

Re: migration error

2019-12-12 Thread Leó Horváth
Still the same, it didnt help sadly :( DANIEL URBANO DE LA RUA ezt írta (időpont: 2019. dec. 12., Cs, 20:10): > if your are using sqlite db and is empty delete it and remake migrations > > El jue., 12 dic. 2019 a las 18:54, Leó Horváth () > escribió: > >> Hi guys! >> >> When I Try to make a mig

Re: migration error

2019-12-12 Thread DANIEL URBANO DE LA RUA
what still the same, what you did. what you did not be more explicit El jue., 12 dic. 2019 a las 20:15, Leó Horváth () escribió: > Still the same, it didnt help sadly :( > > > DANIEL URBANO DE LA RUA ezt írta (időpont: > 2019. dec. 12., Cs, 20:10): > >> if your are using sqlite db and is empty d

Re: migration error

2019-12-12 Thread Leó Horváth
hey, thanks i solved it the problem was very trivial, thank you for your help anyway!! Leó Horváth ezt írta (időpont: 2019. dec. 12., Cs, 20:13): > Still the same, it didnt help sadly :( > > > DANIEL URBANO DE LA RUA ezt írta (időpont: > 2019. dec. 12., Cs, 20:10): > >> if your are using sqlite

Re: migration error

2019-12-12 Thread DANIEL URBANO DE LA RUA
ok good that sound good that is what it matter :) El jue., 12 dic. 2019 a las 21:35, Leó Horváth () escribió: > hey, thanks i solved it the problem was very trivial, thank you for your > help anyway!! > > Leó Horváth ezt írta (időpont: 2019. dec. > 12., Cs, 20:13): > >> Still the same, it didnt

intermittent migration error

2022-01-25 Thread Ben Cail
Hello, I ran into an intermittent migration issue on Django 4.x and PostgreSQL. The migrations work fine on Django 3.2.x, but intermittently fail on Django 4.x with the following exception: django.db.utils.ProgrammingError: constraint "polls_questioncontribution_base_question_id_25bfb2a8_fk"

mysql -> sqlite3 migration error

2011-01-21 Thread neridaj
I'm trying migrate some tables for the first time and I'm not sure how to resolve this error. It looks like things fail when this file is called: films:0006_migrate_country, which in turn is failing to create the films_filmdistribution table. Any thought on how to resolve this? Thanks for any help

Custom User Migration Error

2015-08-02 Thread mddengo
Hi everyone, I've recently started adding user authentication to my app using Google's OAuth2. I found a sample app online (http://blog.jez.io/2014/10/20/using-google-apps-for-cmu-authentication/), tweaked it slightly for my own needs, and got it working. However, once I tried changing the dat

Re: intermittent migration error

2022-01-26 Thread Jason
nice find! I would open a django issue, repeating what you have here, so Mariusz can see and triage. On Tuesday, January 25, 2022 at 2:10:18 PM UTC-5 Ben wrote: > Hello, > > I ran into an intermittent migration issue on Django 4.x and PostgreSQL. > The migrations work fine on Django 3.2.x, but

Re: intermittent migration error

2022-01-26 Thread Ben Cail
Thanks - https://code.djangoproject.com/ticket/33462. On 1/26/22 09:19, Jason wrote: nice find!  I would open a django issue, repeating what you have here, so Mariusz can see and triage. On Tuesday, January 25, 2022 at 2:10:18 PM UTC-5 Ben wrote: Hello, I ran into an intermittent mi

Re: Custom User Migration Error

2015-08-02 Thread Amitt Bhardwj
Try deleting migration folder in your app and run ./manage.py migrate On Sun, Aug 2, 2015 at 11:45 PM, wrote: > Hi everyone, > > I've recently started adding user authentication to my app using Google's > OAuth2. I found a sample app online > (http://blog.jez.io/2014/10/20/using-google-apps-for-

Re: Custom User Migration Error

2015-08-02 Thread mddengo
It worked, thanks!! On Sunday, August 2, 2015 at 2:20:07 PM UTC-4, Amitt Bhardwj wrote: > > Try deleting migration folder in your app and run ./manage.py migrate > > On Sun, Aug 2, 2015 at 11:45 PM, > wrote: > > Hi everyone, > > > > I've recently started adding user authentication to my app u

Django tests fails - migration error

2017-12-09 Thread Matej Šnuderl
Since upgrading to Django 2.0 I'm getting SQL error while trying to run python manage.py test. (rest) λ → ✘ msnuderl@Matejs-MBP  ~/Workspace/Personal/homsterNoi   master ●  python manage.py test Creating test database for alias 'default'... Got an error creating the test database: database

How to report data migration error?

2019-05-23 Thread Victor Porton
Which exception should be raised if my data migration code finds that the data in the DB has a logical error and cannot be migrated for this reason? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receivi

Duplicate Column name Django south migration Error

2014-01-13 Thread Vishnu Cherumadathil
The error was: (1060, "Duplicate column name 'address_ar'") ! Error found during real run of migration! Aborting. ! Since you have a database that does not support running ! schema-altering statements in transactions, we have had ! to leave it in an interim state between migrations. ! You *m

Re: Duplicate Column name Django south migration Error

2014-01-13 Thread Mrinmoy Das
You have a duplicate field, remove it. Whats the exact problem? Mrinmoy Das http://goromlagche.in/ On Mon, Jan 13, 2014 at 2:47 PM, Vishnu Cherumadathil < vishnu.say...@gmail.com> wrote: > The error was: (1060, "Duplicate column name 'address_ar'") > ! Error found during real run of migration!

Zinnia models migration error: InvalidBasesError: Cannot resolve bases for []

2015-03-05 Thread Felipe
I'm having a little trouble integrating a zinnia app into my current application. (project)username@computername:~/project/application$ python manage.py migrate Operations to perform: Synchronize unmigrated apps: bootstrap3 Apply all migrations: project, activity, zinnia, sessions, auth, badg

django migration error: django.db.utils.ProgrammingError: must be owner of relation account_userprofile

2017-08-28 Thread Samuel Muiruri
getting this error when I'm running migrate, to note this is likely related to the db connection I believe (revampenv) sammy@samuel-pc:~/revamp$ python manage.py migrate Operations to perform: Apply all migrations: account, sessions, admin, auth, thumbnail, contenttypes, gallery Running migrat

Re: django migration error: django.db.utils.ProgrammingError: must be owner of relation account_userprofile

2017-08-28 Thread James Schneider
On Aug 28, 2017 6:44 PM, "Samuel Muiruri" wrote: getting this error when I'm running migrate, to note this is likely related to the db connection I believe /revamp/revampenv/local/lib/python2.7/site-packages/django/db/utils.py", line 95, in __exit__ six.reraise(dj_exc_type, dj_exc_value,

Django Migration Error in Heroku, but migrate correctly in heroku local

2016-12-03 Thread zhangdb7
Python 3.5, Django 1.10.3, Sqlite I have deployed a django app in heroku.It ran without errors before. One day I make some change in models.py. I first do python manage.py collectstatic, python manage.py makemigrations, python manage.py migrate, heroku local web -f Procfile.windows, the app run

migration error "geo_db_type" when using postgres as second database for geodjango

2015-09-14 Thread Wenyao Xue
', }, 'geodjango': { 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'NAME': 'geo', 'USER': *, 'PASSWORD': ***, 'HOST': SERVER_HOST, } } during migration, er

Re: Django Migration Error in Heroku, but migrate correctly in heroku local

2016-12-03 Thread Vijay Khemlani
If you are versioning your migration files (most liketly) then you don't have to run makemigrations in the server again. On Fri, Dec 2, 2016 at 11:55 PM, zhangdb7 wrote: > Python 3.5, Django 1.10.3, Sqlite > I have deployed a django app in heroku.It ran without errors before. One > day I make so

Re: Django Migration Error in Heroku, but migrate correctly in heroku local

2016-12-04 Thread zhangdb7
But I have run makemigrations in the server, How to repair now? Should I delete all migrations files? 在 2016年12月4日星期日 UTC+8上午12:54:53,Vijay Khemlani写道: > > If you are versioning your migration files (most liketly) then you don't > have to run makemigrations in the server again. > > On Fri, Dec 2

Re: Django Migration Error in Heroku, but migrate correctly in heroku local

2016-12-04 Thread zhangdb7
But I have run makemigrations in the server, How to repair now? Should I delete all migrations files? On Sunday, December 4, 2016 at 12:54:53 AM UTC+8, Vijay Khemlani wrote: > > If you are versioning your migration files (most liketly) then you don't > have to run makemigrations in the server ag

Re: migration error "geo_db_type" when using postgres as second database for geodjango

2015-09-14 Thread Jani Tiainen
T, 'PORT': '3306', }, 'geodjango': { 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'NAME': 'geo', 'USER': *, 'PASSWORD': ***, 'HOST':

Re: migration error "geo_db_type" when using postgres as second database for geodjango

2015-09-14 Thread Wenyao Xue
27;, > 'rest_shop.routers.ShopRouter', > 'rest_client.routers.ClientRouter'] > > DATABASES = { > 'default': { > 'ENGINE': 'django.db.backends.mysql', > 'NAME': &#x

Re: migration error "geo_db_type" when using postgres as second database for geodjango

2015-09-14 Thread Jani Tiainen
;default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'fddd', 'USER': **, 'PASSWORD': **, 'HOST': SERVER_HOST, 'PORT': '3306&#x

Re: migration error "geo_db_type" when using postgres as second database for geodjango

2015-09-14 Thread Wenyao Xue
sRouter', >> 'rest_shop.routers.ShopRouter', >> 'rest_client.routers.ClientRouter'] >> >> DATABASES = { >> 'default': { >> 'ENGINE': 'django.db.backends.mysql'

Re: migration error "geo_db_type" when using postgres as second database for geodjango

2015-09-14 Thread Tim Graham
ql as default database and postgres for geodjango related >>> appliction. >>> >>> my settings: >>> DATABASE_ROUTERS = ['world.routers.GisRouter', >>> 'rest_shop.routers.ShopRouter', >>>

Re: migration error "geo_db_type" when using postgres as second database for geodjango

2015-09-14 Thread Wenyao Xue
.09.2015 11:58, Wenyao Xue wrote: >>>> >>>> Hi, >>>> I use mysql as default database and postgres for geodjango related >>>> appliction. >>>> >>>> my settings: >>>> DATABASE_ROUTERS = ['world.routers.GisRout

Re: migration error "geo_db_type" when using postgres as second database for geodjango

2015-09-14 Thread Thomas Lockhart
'PORT': '3306', }, 'geodjango': { 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'NAME': 'geo', 'USER':

Re: migration error "geo_db_type" when using postgres as second database for geodjango

2015-09-15 Thread Tim Graham
return False >>>> return None >>>> >>>> 在 2015年9月14日星期一 UTC+8下午5:40:55,Jani Tiainen写道: >>>>> >>>>> >>>>> >>>>> On 14.09.2015 11:58, Wenyao Xue wrote: >>>>> >>>>> Hi, >>