formfield_callback argument was the solution to my problem
On Mon, Sep 14, 2009 at 4:18 PM, dimitri pater - serpia
wrote:
> Hello,
>
> Suppose we have two models:
>
> CH_AUTH = ((u'J', u'John'),(u'P', u'Peter'),(u'M', u'Marc'),)
>
> class Publisher(models.Model):
> name = models.CharField(max
On szept. 14, 16:18, dimitri pater - serpia
wrote:
> Hello,
>
> Suppose we have two models:
>
> CH_AUTH = ((u'J', u'John'),(u'P', u'Peter'),(u'M', u'Marc'),)
>
> class Publisher(models.Model):
> name = models.CharField(max_length=100)
>
> class Book(models.Model):
> publisher = models.For
Hello,
Suppose we have two models:
CH_AUTH = ((u'J', u'John'),(u'P', u'Peter'),(u'M', u'Marc'),)
class Publisher(models.Model):
name = models.CharField(max_length=100)
class Book(models.Model):
publisher = models.ForeignKey(Publisher)
author = models.CharField(max_length=1, cho
3 matches
Mail list logo