Possible bug with m2m fields

2008-01-26 Thread shabda.raaj
Should for a M2M field ModelClass.objects.all() be same as ModelClass.objects.filter(some_m2m = some_m2m) UNION ModelClass.objects.exclude(some_m2m = some_m2m)? If yes then probably there is a bug. To test define a model class as in [1]. Do the tests like in [2]. Check that .all() does not give s

Re: Proposal: allow optional user-defined functions to be passed into serializers.deserialize()

2008-01-26 Thread Wyley
Jacob, Thanks for your feedback. > Though I see what you're trying to solve here, I can't quite see how > this actually improves anything. That is, what's the difference > between your proposed:: > > objs = deserialize("xml", stream, map=some_function) > > and the possible-right-now:: > >

Re: Multilingual content (models)

2008-01-26 Thread Ivan Illarionov
Piotr, I already answered you at Django users, here are some other points. Sometime you may not need 1-to-1 translations, e.g. each language may have its own independent set of articles. Some parts of the site may exist only in one language. And for some people, like me, it's easier to deal with