Changes between Initial Version and Version 1 of Ticket #4751
- Timestamp:
- Jul 3, 2007, 7:15:22 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4751
- Property Triage Stage Unreviewed → Accepted
-
Ticket #4751 – Description
initial v1 1 1 the code: 2 2 {{{ 3 #!python 3 4 class SomeMiddleware: 4 5 def process_request(self, req): … … 8 9 print req.user 9 10 return None 10 11 }}} 11 12 prints out 12 13 {{{ 13 14 <class 'django.contrib.auth.models.AnonymousUser'> 14 15 <type 'instance'> … … 26 27 print req.user 27 28 TypeError: __str__ returned non-string (type instance) 28 29 }}}