Am 14.10.2015 um 11:11 schrieb Gergely Polonkai:
This setup, though, doesn’t feel right, as it contains redundancy. Is there a 
way to
access the list of Values directly from Build without having this redundancy?

Well, you can filter your Value queryset by Build, see
https://docs.djangoproject.com/en/1.8/topics/db/queries/#lookups-that-span-relationships

Or, starting with a Build instance, you can work towards the Value instances, 
see
https://docs.djangoproject.com/en/1.8/topics/db/queries/#related-objects

Best regards,
Carsten

--
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/561E540F.6030202%40cafu.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to