Re: Django server

2006-05-06 Thread tgone
Kilian CAVALOTTI wrote: > tgone wrote: > > Hi, > > > > How do you shut down the Django server on port 8000? My SSH connection > > crashed before I could close the Django server and it's still running. > > I uninstalled my projects and I still get a Django

Re: Django server

2006-05-06 Thread tgone
thanks! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For mo

Django server

2006-05-06 Thread tgone
Hi, How do you shut down the Django server on port 8000? My SSH connection crashed before I could close the Django server and it's still running. I uninstalled my projects and I still get a Django 404 page! Any ideas? Thanks, Anthony --~--~-~--~~~---~--~~ You re

Re: Apache and static files

2006-05-01 Thread tgone
Steven Armstrong wrote: > On 05/01/06 22:36, tgone wrote: > > Hello, > > > > I followed the tutorial on how to serve static files with > > Apache+mod_python but I'm still having problems. I get a 404 when I try > > to access an image at http://localhost/

Apache and static files

2006-05-01 Thread tgone
Hello, I followed the tutorial on how to serve static files with Apache+mod_python but I'm still having problems. I get a 404 when I try to access an image at http://localhost/project/media/test.png. I know for sure that mod_python is disabled for the /media/ dir, but I can't get the images to di

Re: mod_python, apache, django

2006-04-28 Thread tgone
Steven Armstrong wrote: > On 04/29/06 01:30, tgone wrote: > > Hello, > > > > I'm getting the following error: > > > > --- > > Mod_python error: "PythonHandler django.core.handlers.mo

mod_python, apache, django

2006-04-28 Thread tgone
Hello, I'm getting the following error: --- Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/mod_python/apache.py", line 299, in Handler

web hosting

2006-04-12 Thread tgone
Does anyone know of a good hosting company that already has Django installed? --~--~-~--~~~---~--~~ 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

Re: distinct rows problem

2006-03-05 Thread tgone
Malcolm Tredinnick wrote: > The 'fields' keyword argument is specific to get_values() because it > specifies the fields you want returned. The get_count() method returns > an integer -- you don't get a choice there -- so there is no 'fields' > argument required or permitted, only lookup constraint

Re: distinct rows problem

2006-03-05 Thread tgone
Malcolm, You make a good point. here is the working code: search_results = catalogs.get_values(fields=['artist'], order_by=['artist'], artist__icontains=form["searchquery"], distinct=True) I forgot to specify the distinct field that I wanted to return (fields=['artist']). Simple mistake. Howev

Re: distinct rows problem

2006-03-05 Thread tgone
nevermind, I figured it out. Django needs better documentation :) --~--~-~--~~~---~--~~ 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 unsubsc

distinct rows problem

2006-03-05 Thread tgone
Hello, I'm building a search engine to find artists in my database. Naturally, I would like the results to be distinct without the artist names repeated. Here my code: search_results = catalogs.get_values(artist__icontains=form["searchquery"], distinct=True) I read the DB docs but I'm still st