Changes between Initial Version and Version 1 of Ticket #4751


Ignore:
Timestamp:
Jul 3, 2007, 7:15:22 AM (17 years ago)
Author:
Malcolm Tredinnick
Comment:

(Fixed description formatting.)

I thought we'd fixed this. Apparently I am confused, though, and it is only fixed on the Unicode branch.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4751

    • Property Triage Stage UnreviewedAccepted
  • Ticket #4751 – Description

    initial v1  
    11the code:
    2 
     2{{{
     3#!python
    34class SomeMiddleware:
    45    def process_request(self, req):
     
    89        print req.user
    910        return None
    10 
     11}}}
    1112prints out
    12 
     13{{{
    1314<class 'django.contrib.auth.models.AnonymousUser'>
    1415<type 'instance'>
     
    2627    print req.user
    2728TypeError: __str__ returned non-string (type instance)
    28 
     29}}}
Back to Top