выдает ошику :
Exception Type: FieldError
Exception Value:
Cannot resolve keyword 'davlenie__mb' into field. Choices are: davlenie__mb, den, god, id, kod_gvk, mesyats
cmf=globals()[(request.GET['TablicaForm'])]
if str(cmf)==str(SutPatm):
lord='davlenie__mb'
class SutPatm(models.Model):
kod_gvk = models.IntegerField()
god = models.IntegerField()
mesyats = models.IntegerField()
den = models.IntegerField()
davlenie__mb = models.FloatField()
class Meta:
db_table = u'sut_patm'