charges = [(c.company_name)

                 for c in ReportModel.objects.values('company_name').distinct()]


but it throws this error: " 'dict' object has no attribute 'company_name'"



any suggestions?
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to