def armies(self): #from army import Army return Army.objects(for_the=self)
def army(self): #from army import Army return Army.objects(origin=self).first()
def armies(self, armies=None, select_related=1): if not armies: from army import Army return Army.objects(location=self).select_related(select_related) return armies.filter(location=self)
def armies(self): from army import Army return Army.objects(battle=self)
def defenders(self): from army import Army return Army.objects(Q(battle=self) & Q(attitude='defender'))
def aggressors(self): from army import Army return Army.objects(Q(battle=self) & Q(attitude='aggressor'))