On Jan 6, 3:22 pm, Rob wrote:
> Have you managed to figure this out - I'm having a similar (I believe
> the same) issue.
It was the typo pointed out by Daniel Roseman. You may need to turn
on a more detailed debugging level in your httpd.conf to see it in the
log.
Good
Have you managed to figure this out - I'm having a similar (I believe
the same) issue.
On Jan 5, 6:27 am, Patrick May wrote:
> Can you make it fail in the development server, with DEBUG turned on?
>
> If so, you can get more helpful error display and/or do
Can you make it fail in the development server, with DEBUG turned on?
If so, you can get more helpful error display and/or do pdb.set_trace() and
poke around.
I'll give that a try, thanks!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Assuming the code you've posted is a real cut and paste, you have
"HTTPResponse" for POST but "HttpResponse" for GET. Python is case-
sensitive, so only "HttpResponse" will work.
Thanks, that was it. Are errors like that written to a log file anywhere?
Thanks again,
Patrick
--
You received
Can you make it fail in the development server, with DEBUG turned on?
If so, you can get more helpful error display and/or do pdb.set_trace() and
poke around.
On Mon, Jan 4, 2010 at 4:25 PM, Patrick May wrote:
> Hi,
>
> I have Django running under Apache with
On Jan 4, 9:25 pm, Patrick May wrote:
> Hi,
>
> I have Django running under Apache with mod_wsgi. I've got a simple URL
> handler that looks like this:
>
> def handler(request):
> response = None
>
> if request.method == 'POST' or request.method == 'PUT':
>
Hi,
I have Django running under Apache with mod_wsgi. I've got a simple URL
handler that looks like this:
def handler(request):
response = None
if request.method == 'POST' or request.method == 'PUT':
response = HTTPResponse(status=201)
elif request.method == 'GET':
7 matches
Mail list logo