Sorry, I copied the wrong traceback. The only difference though is that last
line you quoted. it is
File "F:\Dev\Python\Photon\photon\model.py", line 53, in _set_keywords
I tried passing the id of the keyword as well (1), but that gave me the same
I found out what caused the error though.While debugging I discovered that
the the Photo gets passed on as a uninstantiated class. So I have to create
the photo first, and then add the keyword!
I was trying to pass the keyword to the Photo class on instantiation.
2007/5/12, Oleg Broytmann <phd@...>:
> On Sat, May 12, 2007 at 07:40:04PM +0200, TiNo wrote:
> > File "F:\Dev\Python\Photon\photon\model.py", line 52, in
> > _set_keywords
> > self.addKeyword(1)
> What is it?