Replies: 2 comments 1 reply
-
I have already queried the database, and all the enum values in it are lowercase. However, theoretically, no matter what I change the name on the left side of the enum to, it should not affect the operation of the database. But in reality, now I can only run normally if I keep both sides of the enum in consistent case. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Please post correctly indented Python code, that's not been copy-pasted from what looks like a reddit post. You also failed to include the full traceback of your exception. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need some help with an issue regarding enumerations in Flask.
My model is as follows:
However, I keep encountering the following error:
Beta Was this translation helpful? Give feedback.
All reactions