On Tue, May 17, 2016 at 05:58:51AM -0700, François GUÉRIN wrote:
> Thanks very very very much !

You're welcome. (-:

On Tue, May 17, 2016 at 05:56:23AM -0700, François GUÉRIN wrote:
> Argh !! It works ! We could use double underscores in relation names, 
> before, no ?

I don't think so – if it ever worked, then it was only if you
restricted yourself to a very limited subset of the relationship API,
and only by accident. Double underscores are, just like field names
(or related_names) ending with underscores, impossible to support,
because of the double underscore separator in cross-relationship
lookups.

Arguably, there should be a check that would flag this as an error.
I'll try to create a test case and patch for this later today...

Cheers,

Michal

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20160517130949.GJ24966%40koniiiik.org.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Digital signature

Reply via email to