Hi, Silva.

You can use http://docs.djangoproject.com/en/dev/ref/models/querysets/#icontains
for simple search:
    Entry.objects.get(headline__icontains=search_query)

For more complex search you need separate search engine like Sphinx
(http://www.sphinxsearch.com/).


On Apr 20, 11:22 am, Waruna de Silva <waruna....@gmail.com> wrote:
> Hi All,
>
> I'm building simple search for website, i would like to know whether is
> possible to use
> admin search outside the django admin. If yes how can i do that. Any code
> examples or
> tutorials.
>
> Thank u,
> Waruna de Silva.
--~--~---------~--~----~------------~-------~--~----~
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