On Sat, Mar 7, 2009 at 5:25 PM, Alex Gaynor <[email protected]> wrote:
> My strategy would be to make a template tag that was passed the variable and
> rendered that if there was data, else created and rendered a blank form.

Or, you know, you could just put a form in the base template. You
know, `<form action='/search/'>...</form>`. Really, don't overthink
stuff like this -- the easy way is easy for a reason.

Jacob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to