Hi,
I am passing args from my SQLForm to a page (details.html) which pretty
much shows 'details' about a product.
www.mydomain.com/details/item-name
If I just go to www.mydomain.com/details I get
<type 'exceptions.AttributeError'> 'NoneType' object has no attribute
'title'
I am guessing this is because it is loading a page and because there is no
arguments, there is nothing to pull. I assume a simple if statement would
fix this in the view, right?
{{if xxxxxxxx:}
Show the item details
{{else:}}
Show this content
{{pass}}
Would someone be kind enough to show me what would work best to accomplish
this?
Thanks
--