Closed michaelsteigman closed 6 years ago
Thanks for the fix @michaelsteigman! How about adding a short test in tests/test_models.py which creates a Rating and then attempts to use that rating in a string, i.e. f"this rating is {rating}" and shows the failure? Thanks!
But of course!
@grahamu i would like to take on this issue and write a test for it
That would be great @kasulani, please add your test to test_models.py, thanks!
@michaelsteigman this is fixed by virtue of https://github.com/pinax/pinax-ratings/pull/47/files#diff-0e60a6249923130e95b2aba91a93c39cR96. pinax-ratings v3.0.2 is available on PyPi https://pypi.python.org/pypi/pinax-ratings/3.0.2 with test coverage raised from 54% to 96% courtesy of @kasulani. Thanks for bringing this to our attention!
Small Fixes following error:
TypeError: __str__ returned non-string (type int)
Generated (e.g.) when viewing objects a user has created.