2👍
✅
Comment out the Lessor.portrait
foreign key, and create migrations for both models.
Once the Image
model has been created, you can uncomment the field, and create a another migration to add the foreign key.
Source:stackexchange.com