Hello,

First - sorry for my english ;)

Second, example:

class m(models.Model):
    something = models.CharField(max_length=100)

class y(models.Model):
    m = models.OneToOneField(m,primary_key=True,related_name='y')
    pool = models.CharField(max_length=100)#example data: "something
in y"

class z(models.Model):
    m = models.OneToOneField(m,primary_key=True,related_name='z')
    pool = models.CharField(max_length=100)#example data: "something
in z"

and now template code:

{{ m.z.pool }} prints: something in z

but if i put {{ m.z.pool }} after {{ m.y.pool }} it will print
something in y not something in z

it's a bug or future? :)

patS

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to