Search
Clear search
Close search
Main menu
Google apps
Groups
Sign in
Groups
Django users
Conversations
About
Send feedback
Help
pass complete context from template to simple_tag
7 views
Skip to first unread message
Berco Beute
unread,
Jun 2, 2008, 2:36:20 PM
6/2/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
I've written a simple tag that renders a template, but to do so it
needs the complete context. How can I pass that from a template?
Thanks,
2B
Julien
unread,
Jun 2, 2008, 10:21:18 PM
6/2/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
simple_tag doesn't accept context as argument, yet. You'll have to
create your own tag. See:
http://groups.google.com/group/django-users/browse_thread/thread/b3b3d7894f48b609/cf74b962aa68085e?lnk=gst&q=simple_tag+context#cf74b962aa68085e
Reply all
Reply to author
Forward
0 new messages