I am trying create a new model with Django, but I keep running into the error Lookup failed for model referenced by field help.HelpDefinition.org: account.Organization
. Organization
has been imported. You can see the model below.
models.py
org = models.ForeignKey(Organization, unique=True)
help_type = models.CharField(max_length=255, choices=HELP_CHOICES)
help_content = models.TextField(blank=True)
This model has been successfully migrated previously. I dropped the table via psql
in Postgres so that it could be recreated.