aamalig / django-profile

Automatically exported from code.google.com/p/django-profile
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Problem on displaying Avatar #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The templatetag avatar contains a little problem, it doesn't resolve the
user variable correctly.

My Django is the svn trunk.

The render method of the ResizedThumbnailMode is trying to access variable
request.user in context which leads to a error.

If self.user is Variable("user") everything works fine, but the Thumbnail
function always passes username argument as 'request.user' to
ResizedThumbnailMode.

Original issue reported on code.google.com by midnight...@gmail.com on 28 Feb 2009 at 6:43

GoogleCodeExporter commented 8 years ago
You're totally right. I have solved it on trunk. Thanks for reporting

Original comment by david.ru...@gmail.com on 2 Mar 2009 at 8:36