Fixed two instances of undefined symbols in proceedings/models.py
- Legacy-Id: 236
This commit is contained in:
parent
03c18bd33d
commit
888418a14f
|
@ -31,8 +31,6 @@ class ResolveAcronym(object):
|
||||||
acronym_name = IRTF.objects.get(pk=self.group_acronym_id).name
|
acronym_name = IRTF.objects.get(pk=self.group_acronym_id).name
|
||||||
else:
|
else:
|
||||||
acronym_name = Acronym.objects.get(pk=self.group_acronym_id).name
|
acronym_name = Acronym.objects.get(pk=self.group_acronym_id).name
|
||||||
if interim:
|
|
||||||
return "i" + acronym
|
|
||||||
return acronym_name
|
return acronym_name
|
||||||
def area(self):
|
def area(self):
|
||||||
if self.irtf:
|
if self.irtf:
|
||||||
|
@ -227,7 +225,7 @@ class MeetingTime(models.Model):
|
||||||
an_br2_info = NonSession.objects.get(meeting=self.meeting, day_id=self.day_id, non_session_ref=5)
|
an_br2_info = NonSession.objects.get(meeting=self.meeting, day_id=self.day_id, non_session_ref=5)
|
||||||
return "%s %s" % (an_br2_info.time_desc, an_br2_info.non_session_ref)
|
return "%s %s" % (an_br2_info.time_desc, an_br2_info.non_session_ref)
|
||||||
def fbreak_info(self):
|
def fbreak_info(self):
|
||||||
fbreak_info = NonSession.objects.get(meeting-self.meeting, day_id=5, non_session_ref=6)
|
fbreak_info = NonSession.objects.get(meeting=self.meeting, day_id=5, non_session_ref=6)
|
||||||
return "%s %s" % (fbreak_info.time_desc, fbreak_info.non_session_ref)
|
return "%s %s" % (fbreak_info.time_desc, fbreak_info.non_session_ref)
|
||||||
class Meta:
|
class Meta:
|
||||||
db_table = 'meeting_times'
|
db_table = 'meeting_times'
|
||||||
|
|
Loading…
Reference in a new issue