Admin problems now via apache2/mod-python

2007-08-22 Thread Jason Witherspoon
Well, upwards & onwards. In the interest of forward momentum, I managed to solve my css problem simply be copying the media folder into my htdocs folder, & then setting: SetHandler None ...in httpd.conf so that folder gets statically served (thanks to Chpt. 21 of the Python book "Deploy

(Conceptual?) problem w/login_required

2008-01-22 Thread Jason Witherspoon
Hi folks-- I've got the following code in a view: from django.shortcuts import get_object_or_404, render_to_response from django.http import HttpResponseRedirect from django.core.urlresolvers import reverse from mysite.officemeetingpoll.models import Meetingtime from django.contrib.auth.decorato

Re: (Conceptual?) problem w/login_required

2008-02-03 Thread Jason Witherspoon
little poll is really proving to be my Waterloo, & I really feel like I need to get my head around it before I can go any further w/the framework. Thus, any suggestion/help much much appreciated! On Jan 22, 2008, at 7:54 PM, Karen Tracey wrote: > On Jan 22, 2008 10:16 PM,

Debugging Django scripts problem

2007-09-28 Thread Jason Witherspoon
Hi guys-- Total Python & Django newbie here, so thanks in advance for your patience. I'm trying to set up a rather baroque search-sorter for one of my views.py, & not surprisingly my first stab isn't working. So, I'm trying to fire up the Python debugger as follows: "python -m pdb views.

Re: Debugging Django scripts problem

2007-09-28 Thread Jason Witherspoon
On Sep 28, 2007, at 4:12 PM, Jason Witherspoon wrote: > What am I doing wrong? Do I need to somehow reload Python to get > it to take the new path? > Okay, I'm guessing a Python reload would indeed help, as I've managed to get the Python debugger to find mysite.drpack.v

not really a django problem, just fishing here--

2007-12-11 Thread Jason Witherspoon
Hey everyone-- I've been trying to run Xapian alongside my Django app for lo, many moons now. Here's the problem I run into: Xapian is compiled to work w/a Python that's been configured for ucs4 support (this is a manner of handling unicode). Won't work w/ucs2, far as I can tell. When I