1

I am trying to migrate models between apps following Ozan’s answer here: How to move a model between two Django apps (Django 1.7)

However, I get stuck when I try to run python manage.py makemigrations new_app. I get this error message:

The field products.Offer.compared_image was 
declared with a lazy reference to 'products.comparedimagepair', 
but app 'products' doesn't provide model 'comparedimagepair'.

How do I avoid this? What is causing this? I updated the reference but it seems to still be failing

superdee
  • 637
  • 10
  • 23
  • 2
    Can you show us the models? Right now it seems you have a relation to one model that doesn't exists in your app – yorodm Feb 25 '19 at 01:18

0 Answers0