Beispiel #1
0
 def gap_loader(d):
     d['variable'] = Variable.get(slug=d['variable'])
     d['target'] = Variable.get(slug=d['target'])
     cls_variable_loader(GapVariable)(d)
Beispiel #2
0
 def load_lga_variable(d):
     d['origin'] = Variable.get(slug=d['origin'])
     d['sector'] = Sector.objects.get(slug=d['sector'])
     cls_variable_loader(LGAIndicator)(d)