Yea, the code that processes the search and returns the results.
Does it not need to go in views.py? Could i just import it?

> By 'code' I presume you mean the code that processes the search
> queries and returns results?  It can go wherever you like, and the
> search box just posts to the view that the search code is in.
> Preferably, use the {% url %} tag in the action attribute of the form
> to lookup the URL of the view via the urlconf.
> --
> DR.
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to