Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix for unicode issue

  • Loading branch information...
commit 16d392ceaff19b7b441f095091373777b555144d 1 parent 20bdd7c
David Cramer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django_histograms/templatetags/histograms.py
View
2  django_histograms/templatetags/histograms.py
@@ -7,7 +7,7 @@
def histogram_for(model, attname):
if isinstance(model, basestring):
model = get_model(*model.split('.'))
- return Histogram(model, attname).render(css=True)
+ return Histogram(model, str(attname)).render(css=True)
register.simple_tag(histogram_for)
# try:
Please sign in to comment.
Something went wrong with that request. Please try again.