Indeed, you are correct, but that does not solve the issue.
still with the error: 'ForeignKey' object has no attribute
'application'
Matt McDonald wrote:
> Shouldn't that be:
> limit_choices_to=
> {'meeting__application__name__exact':meeting.application.name}
>
> On 05/07/2006, at 6:53 AM, wil
Shouldn't that be:
limit_choices_to=
{'meeting__application__name__exact':meeting.application.name}
On 05/07/2006, at 6:53 AM, william wrote:
>
> I'm running with svn r-3275.
>
> I have the following models:
>
> class Application(models.Model):
> name = models.CharField(maxlength=50)
>
I'm running with svn r-3275.
I have the following models:
class Application(models.Model):
name = models.CharField(maxlength=50)
class Meeting(models.Model):
application = models.ForeignKey(Application)
If I'm using, in this class,
limit_choices_to={'application__name_
3 matches
Mail list logo