On 8/3/06, skullvulture <[EMAIL PROTECTED]> wrote:
> In the tutorial you create a custom method was_published_today. How
> can you access it in the template? I'm using generic views. Do I have
> to write my own more complicated view to access it? Thanks.
Hi skullvulture,
To access methods of
Thanks, I was putting in the parenthesis.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, sen
On 08/03/06 21:01, skullvulture wrote:
> In the tutorial you create a custom method was_published_today. How
> can you access it in the template? I'm using generic views. Do I have
> to write my own more complicated view to access it? Thanks.
>
Something like this should work:
{% if object.
On 8/3/06, skullvulture <[EMAIL PROTECTED]> wrote:
> In the tutorial you create a custom method was_published_today. How
> can you access it in the template? I'm using generic views. Do I have
> to write my own more complicated view to access it? Thanks.
Since it's a property of the object, h
On 8/3/06, skullvulture <[EMAIL PROTECTED]> wrote:
>
> In the tutorial you create a custom method was_published_today. How
> can you access it in the template? I'm using generic views. Do I have
> to write my own more complicated view to access it? Thanks.
You don't need to write any more com
In the tutorial you create a custom method was_published_today. How
can you access it in the template? I'm using generic views. Do I have
to write my own more complicated view to access it? Thanks.
--~--~-~--~~~---~--~~
You received this message because you ar
6 matches
Mail list logo