This is probably really simple, but I'm not seeing it.

I have my base.html and sub.html templates. The method that services the sub 
template does it's job fine. But in the base template I have a piece of 
content that is independent of the sub template. I have a get_stuff() method 
in views.py to produce this content.

Attempting to do a method call {% views.get_stuff %} just results in a 'bad 
tag' error.

Doing it like a variable {{ views.get_stuff }} just seems to be ignored.

How is this done?

Thanks,
Michael


--~--~---------~--~----~------------~-------~--~----~
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, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to