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
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
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
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/
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
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
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
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
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
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
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
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
12 matches
Mail list logo