Skip to content Skip to sidebar Skip to footer
Showing posts with the label Database Migration

Alterfield On Auto Generated _ptr Field In Migration Causes Fielderror

I have two models: # app1 class ParentModel(models.Model): # some fields Now, in another app, … Read more Alterfield On Auto Generated _ptr Field In Migration Causes Fielderror

ProgrammingError: Relation 'blah Blah' Does Not Exist, Trying To Run The Specific Migration And Get Error

I am getting an error: $ python manage.py migrate swsite 0023_hitcounter.py Traceback (most recent … Read more ProgrammingError: Relation 'blah Blah' Does Not Exist, Trying To Run The Specific Migration And Get Error