-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error if primary_key is not int() #134
Comments
I have the same issue when the foreign-key in a model is a string. Any workaround for this? |
I worked around it by specifying the cols. |
I have face similar issue
Specifying of columns doesn't help me either.
|
Can you tell why you have set your entity relationship as class Testing1(models.Model): class Testing2(models.Model): When I setup the models I use Model Class as Foreign key, for instance class Testing1(models.Model): class Testing2(models.Model): |
Why would you code it this way? Never seen this type of model / ForeignKey relationship. It's not logical. |
The text was updated successfully, but these errors were encountered: