[BangPypers] 'dict' object has no attribute 'company_name'

Asif Jamadar asif.jamadar at rezayat.net
Mon Aug 15 11:30:49 CEST 2011


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?


More information about the BangPypers mailing list