On Sun, May 24, 2009 at 2:10 PM, notcourage <klr...@gmail.com> wrote:

>
>  curl -v  http://localhost:8000/resources/users999/forbbidenView/
> * About to connect() to localhost port 8000 (#0)
> *   Trying 127.0.0.1... connected
> * Connected to localhost (127.0.0.1) port 8000 (#0)
> > GET /resources/users999/forbbidenView/ HTTP/1.1
> > User-Agent: curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g
> zlib/1.2.3.3 libidn/1.8
> > Host: localhost:8000
> > Accept: */*
> >
> * HTTP 1.0, assume close after body
> < HTTP/1.0 302 FOUND
> < Date: Sun, 24 May 2009 18:09:14 GMT
> < Server: WSGIServer/0.1 Python/2.5.2
> < Vary: Cookie
> < Content-Type: text/html; charset=utf-8
> < Location:
> http://localhost:8000/resources/users/login?next=/resources/users999/forbbidenView/
> <
> * Closing connection #0
>

You are still not getting to your forbidden view code, as it apparently
requires a login.  So again, you're getting a redirect, this time to the
login url with next set to forward on to the requested url after you have
logged in.

Karen

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to