]> git.openstreetmap.org Git - osqa.git/commit
notifications improvement, now we make sure that the username has passed through...
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 14 Apr 2011 21:51:36 +0000 (21:51 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 14 Apr 2011 21:51:36 +0000 (21:51 +0000)
commitba9a60ad5002f1d8ea271f030f4ae5f5e898f7c7
tree76f446f1c8703616e21061e9290745a7f7e01709
parent6ed9045db99d5ec0f9bd3529c9145cacabd5f90e
notifications improvement, now we make sure that the username has passed through the smart_unicode function and the returned object is a safe unicode string. This used to cause some trouble with the new comment posted notifications. Also fixing a small bug in the accepted answer notifications. The Question object shouldn't go through the smart_str function, then the Question object gets converted to a Unicode string and this caused trouble with the URL reverse process.

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@985 0cfe37f9-358a-4d5e-be75-b63607b5c754
forum/skins/default/templates/notifications/answeraccepted.html
forum/views/users.py