-
-
Save Ch00k/a8089fd32eed628489a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ArgumentError: Could not locate any simple equality expressions involving locally mapped foreign key columns for primary join condition 'pk_movie.id = show_time.pk_movie_id AND show_time.datetime >= CURRENT_TIMESTAMP' on relationship PKMovie.future_show_times. Ensure that referencing columns are associated with a ForeignKey or ForeignKeyConstraint, or are annotated in the join condition with the foreign() annotation. To allow comparison operators other than '==', the relationship can be marked as viewonly=True. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment