Closed vanlummelhuizen closed 10 months ago
.. and ManyToMany fields
Removing the quotes makes it that django cannot resolve the reference to Place, because Place is defined later. We might be able to resolve this after we straighten out the FK and M2M relationships.
I think you can solve this by changing the order of the models in the file. Things higher up are defined before things lower in the file.
See for instance
'Place'
in https://github.com/tsg-humlab/shewrote/blob/dde56bccbf2b4c8dc9ddc2c69b9281a521c36130/shewrote/models.py#L34If there are no quotes it is easier to navigate in your IDE.