On Nov 9, 8:14 am, "David Blewett" <[EMAIL PROTECTED]> wrote:
> What about using generic relations for this? You could have something
> like this:
>
> class I18NText(models.Model):
> language = models.ForeignKey(Language)
> field = models.CharField(m
;nada',
language=Language('Spanish'))
You can get the text for a specific translation like this:
a.translations.filter(field='bar', language=Language('Spanish'))
David Blewett
--~--~-~--~~~---~--~~
You received this message be
Gary Doades wrote:
> Yeah, I've been using it for a couple of months now with no problems. I
> also use it on another project via SQLAlchemy.
>
> I only really pointed it out when I saw the beta chapters (chapter 2)
> for the book. If it still recommends psycopg1 when it comes out it may
> look o
ike to help out
with the FullHistory branch. It looks like it hasn't had trunk merged
to it in a while.
David Blewett
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this
milar to magic-removal, at merging all these branches?
David Blewett
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-developers@goog
d cause the save to take too long,
or the request could raise an exception causing the object not to getsaved... I'm not sure about what would be better, but it does rub methe wrong way.What about using signals? The ping_google() call could be activated by hooking in to the post_save() signa
hings, Animals, and Toys?
> That's what I'd expect, and want.
I also think keeping the abstract class as a way of aggregating all the
subclasses is key. An iterator is exactly what I would like to see as
well.
Please post any examples / code as they come!
David Blewett
--~--~---