I am using django-forms-builder and I am updating it to work with later versions of Django. I get the above deprecation warning. This is the code:
forms.py line 367: # Get the field entries for the given form and filter by entry_time # if specified. model = self.fieldentry_model field_entries = model.objects.filter(entry__form=self.form ).order_by("-entry__id").select_related(depth=1) I do not think that the related name is known ahead of time in this. Can anyone suggest how to fix this? For more context, the code is here: https://github.com/stephenmcd/django-forms-builder/tree/master/forms_builder/forms -- MLHIM VIP Signup: http://goo.gl/22B0U ============================================ Timothy Cook, MSc +55 21 994711995 MLHIM http://www.mlhim.org Like Us on FB: https://www.facebook.com/mlhim2 Circle us on G+: http://goo.gl/44EV5 Google Scholar: http://goo.gl/MMZ1o LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B%3DOU3WUQGEnkwXaAWszYWDQ-viuySKkw1i50mXyjWHK5YmHiQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.