Re: django searching/checking for user

2008-04-23 Thread Michael
Gotcha, sorry about that, didn't quite get what was being asked. You can do a full text search in your database or implement some external software for search. Also if you have a field that you want items to be alike for you can always bounce off the database for items like that. I have

Re: django searching/checking for user

2008-04-23 Thread Aljosa Mohorovic
On Apr 23, 8:32 pm, Michael <[EMAIL PROTECTED]> wrote: > If you have auth and sessions working right in Django you can access a > logged in user from the request (request.user) and user in auth if you have > AUTH_PROFILE_MODULE [1] in your settings you can get the profile from the thanks for

Re: django searching/checking for user

2008-04-23 Thread Michael
If you have auth and sessions working right in Django you can access a logged in user from the request (request.user) and user in auth if you have AUTH_PROFILE_MODULE [1] in your settings you can get the profile from the user with the function get_profile() [1]

django searching/checking for user

2008-04-23 Thread Aljosa Mohorovic
i was wondering if there is django related solution for searching/ checking if user (django.contrib.auth + profile) exists or to retrieve similar results? so if i have: search_for = request.POST['search_for'] do i split search_for and basically do sql LIKE search through table fields or is