El 02/02/10 08:33, phoebebright escribió:
> But fields is not mentioned in the middleware:
>
> from libs.utils import  changehat
> class CheckScopeMiddleware:
>     """
>     if there is a hat in the GET then swithc to that hat (if
> different)
>     """
>     def process_request(self, request):
>
>           if 'hat' in request.GET:
>                if request.GET['hat'] != request.session['hat']:
>                    hatcontext = changehat(request, request.GET['hat'])
>
>   

How about in the "changehat" module, is "fields" not mentioned there
either (or in a module it imports, and so on)?

-- 
Gonzalo Delgado <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
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.

Reply via email to