1👍
✅
Instead of importing the model, use a string of the form “appname.ModelName”.
user = models.ForeignKey("users.RegModel", ...)
Source:stackexchange.com
1👍
Instead of importing the model, use a string of the form “appname.ModelName”.
user = models.ForeignKey("users.RegModel", ...)