On 9/12/05, stane <[EMAIL PROTECTED]> wrote:
> If I have declare explicitly primary keys ex. article_id and
> publication_id then p1.get_article_list() fails
> 
> Traceback (most recent call last):
> File "<interactive input>", line 1, in ?
> File "C:\Python23\lib\site-packages\django\utils\functional.py", line
> 3, in _curried
> return args[0](*(args[1:]+moreargs), **dict(kwargs.items() +
> morekwargs.items()))
> File "C:\Python23\lib\site-packages\django\core\meta\__init__.py", line
> 951, in method_get_related_many_to_many
> kwargs['%s__id__exact' % rel_field.name] = self.id
> AttributeError: 'Publication' object has no attribute 'id'

Oooh, great catch. Update your Django code to revision 639 (or higher)
and give it another shot.

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to