I am working through your tutorial. I believe I have the correct
display it the browser but I am stumped at the point you say "We need
to link to this page from the front page. Lets add another column to
the table,
'ID', where the ID is a link to the detail form."
When I add the lines to order.py;
@property
def id_link(self):
return genshi.XML('<a href="order?id=%d">%d</a>' % (
self.id,
self.id))
And refer to the field, I get AttributeError: 'Order' object has no
attribute 'id_link' , and the administration form does not show the
field. What am I missing?
Any suggestions?
Thanks
On Oct 11, 5:44 am, Simone Mainardi <
simonemaina...@gmail.com> wrote:
> new file with minor fixes, thanks to Richard!
>
> On Sat, Oct 10, 2009 at 12:30 PM, Simone Mainardi
>
> <
simonemaina...@gmail.com> wrote:
> > I'm sorry for this new post but I was not receiving mails from this
> > group so I have not the old post on my mua.
> > You can find the tutorial in attachment. Hope it helps someone
>
> > --
> > Quis custodiet ipsos custodes?
>
> --
> Quis custodiet ipsos custodes?
>
> tutorial_new.rst
> 22KViewDownload