Re: django searching

2011-05-02 Thread Jani Tiainen
On Mon, 2011-05-02 at 21:40 -0700, pankaj sharma wrote: > hello all, > i am trying to have an advanced search.. > i have college list where there are many tables in college like > college.name, collge.city college.state etc. > > so i have taken two strings from the user like Q1 and Q2. > now i

django searching

2011-05-02 Thread pankaj sharma
hello all, i am trying to have an advanced search.. i have college list where there are many tables in college like college.name, collge.city college.state etc. so i have taken two strings from the user like Q1 and Q2. now i want to show all the colleges which have Q1 string in name and Q2

Re: Django searching for admin template in admindocs directory

2009-08-30 Thread Jeff
Thank you very much, adding it did the trick. Not sure how I missed that. On Aug 30, 4:39 pm, Alex Gaynor wrote: > On Sun, Aug 30, 2009 at 4:33 PM, Jeff wrote: > > > Hi, > > > I'm a Django newbie and have run into a Template Not Found error when

Re: Django searching for admin template in admindocs directory

2009-08-30 Thread Alex Gaynor
On Sun, Aug 30, 2009 at 4:33 PM, Jeff wrote: > > Hi, > > I'm a Django newbie and have run into a Template Not Found error when > setting up the admin interface on a site I'm building. > > Here's the error: >

Django searching for admin template in admindocs directory

2009-08-30 Thread Jeff
Hi, I'm a Django newbie and have run into a Template Not Found error when setting up the admin interface on a site I'm building. Here's the error: -- Environment: Request Method: GET Request URL:

Re: django searching wrong package for 'static.serve'

2009-01-17 Thread Ramiro Morales
On Sat, Jan 17, 2009 at 6:19 PM, Tim Valenta wrote: > > Hello all. Just trying to make django serve my static media files > (css is my main test case right now) during development. I've > included the lines in my URLconf as instructed by this page: >

django searching wrong package for 'static.serve'

2009-01-17 Thread Tim Valenta
Hello all. Just trying to make django serve my static media files (css is my main test case right now) during development. I've included the lines in my URLconf as instructed by this page: http://docs.djangoproject.com/en/dev/howto/static-files/ My issue is that this line is causing a 500

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