Thanks, this might be a way to go - since the .extra() method may create a dependency on the SQL dialect used I will have to be careful though ;-)
Am Donnerstag, 10. Oktober 2013 19:01:32 UTC+2 schrieb Tom Evans: > > This is not a full solution, but you can select out extra fields (and > then subsequently filter on them) using the .extra() method on > querysets. > > Eg, if you were using mysql and wanted a field that was a hash of pk > (id), first_name and last_name fields, then you could do something > like so: > > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/d696e62a-29ec-4683-ab7d-d72c5eea7af6%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.

