On 27 mar, 22:26, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> > > At the moment we try to remember to fill in most of the details on the
> > > wrapped object, but this isn't always possible (for example, the
> > > __name__ attribute of a function is read-only in python 2.3). One
>

Today I tested the same code I tested weeks ago and now it works

from django.http import HttpResponse
class AuthorizedMiddleware(object):
    def process_view(self, request, view, args, kwargs):
        return HttpResponse(str( view.__name__ ))

  what did you do for this or I'm doing something "wrong"?

>


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to