Hi,
In an attempt to fix my earlier query about related names etc, it would appear that I've (half() fixed my issue.submission = GenericRelation(
related_query_name='%(app_label)s_related_name')
So that's good and gives me the related names. However, when I come to use django filters, I get hit with the message:
FieldError: Cannot resolve keyword 'my_app_name_related_name into field. Choices are: %(app_label)s_related_name, etc etc etc.
FieldError: Cannot resolve keyword 'my_app_name_related_name into field. Choices are: %(app_label)s_related_name, etc etc etc.
What is causing this and how do I not have this?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANOQRby2u9f3-qR8nP1e%3DZBfzpT_NBX8RuwDrfd7_j5tfQuKYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment