Re: I need to get psycopg2 installed on Mac OS X 10.5

2009-07-27 Thread William Siegrist
On Jul 27, 2009, at 11:07 PM, Kevin wrote: > > I have gotten psycopg2 to compile though in a roundabout way. I have > tried to compile Python from source and got other errors. Although I > already had Xcode installed, I decided that it couldn't hurt to > reinstall it and see what happens. Aft

Re: CSS Issues

2008-01-06 Thread William Siegrist
rs" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~--- --

Re: CSS Issues

2008-01-06 Thread William Siegrist
--~ 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 more options, visit this group at http://groups.googl

Re: Login to Django Administration Page via Post Method

2008-01-16 Thread William Siegrist
You use "Self" instead of "self" in the param line, was that just a cut-n-paste error? -Bill On Jan 15, 2008, at 10:41 PM, [EMAIL PROTECTED] wrote: Hi all, I am about to writing the django unittest, so I need to login to the django admin page to test my unittest. I send the POST request to

Re: best practices for a production site

2008-01-18 Thread William Siegrist
If the spelling changes are in 1 file, and the new feature is in another file, can't you "svn update" just the spelling change file and not the new feature file? And if they are in the same file, I think the --revision option to svn update might also help. -Bill On Jan 17, 2008, at 11:55

Re: Running django+apache on my macbook

2008-01-18 Thread William Siegrist
I recommend installing apache, python, and mod_python via MacPorts. Thats what I do to run django on various Mac platforms. Granted, I work with the MacPorts project, so maybe I'm biased, but I also came from a linux environment and find MacPorts to be very useful for package management.

Re: Administration site is plain

2008-01-28 Thread William Siegrist
Make sure your production server knows where to send requests for / media/. You probably need a symlink to django/contrib/admin/media. See "Serving admin files" here (especially if you're using mod_python): http://www.djangoproject.com/documentation/modpython/ -Bill On Jan 28, 2008, at 2:

Re: Help filter with Admin

2008-02-03 Thread William Siegrist
Have you tried using the IN filter? Student.objects.filter(school__in = [A, B]) http://www.djangoproject.com/documentation/db-api/#in -Bill On Feb 3, 2008, at 1:41 PM, [EMAIL PROTECTED] wrote: Hi, I have a situation whereby I need to use filters with "OR" . Here is a description of my

Re: Views, Templates, and Dictionaries

2008-01-02 Thread William Siegrist
This might help... from: http://www.djangoproject.com/documentation/templates/#for {% for key, value in this_dict.items %} {{ key }}: {{ value }} {% endfor %} -Bill On Jan 2, 2008, at 8:40 PM, brandonl wrote: I have a simple view: def index(request): this_dict = { 'one':'','tw