On Fri, Aug 22, 2003 at 09:21:26AM -0600, VanL wrote:
> I also tried _q_access
>
> def _q_access(request):
> session = request.session
> if session.user is None:
> return login(request)
>
> This works for all accesses to the front page. However if I try to go
> to the url /nextpage (a new namespace) it allows access.
>
> What I really want is a gatekeeper function
For me _q_access works exactly like such gatekeeper function. Any access
for any object is passed through root _q_access...
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.