Hi,
actually I am facing the same problem here. I did quite a search on
the subject and I found no real solution to this use case. Here are my
models:
---
contacts/models.py:
class Address(models.Model):
street = models.CharField(max_length=255)
city = models.CharField(max_le
On Fri, 2009-01-09 at 05:33 -0800, klein.steph...@gmail.com wrote:
[...]
> This error is understandable because actually ClassA haven't
> ForeignKey but the relation
> between ClassA and ClassB is OneToOneField then ClassA know how to
> access to his classb object.
>
> This behavior is one missin
Hi,
First, I begin with one example :
I've this in test1/models.py
from django.db import models
class ClassA(models.Model):
foo = models.CharField("Foo", max_length = 100)
class ClassB(models.Model):
bar = models.CharField("bar", max_length = 100)
rel_a =
3 matches
Mail list logo