It should not display none because of

            {{ if not clubs:}}  {{################}}
             <h1> No clubs </h1>
            {{else:}}  {{################}}

and you can customize the message.

Massimo

On Nov 26, 8:59 am, annet <[EMAIL PROTECTED]> wrote:
> One more question on this topic:
>
> The code above works fine, however, when there are no matching records
> in the database the word 'none' appears where normally the table
> displays the resulting records. I would like a message to appear
> telling the visitor that there are no records in the database that
> match his query parameters. How do I achieve this?
>
> Best regards,
>
> Annet.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to