Skip to content

Commit 6520954

Browse files
committed
Model for managing WG delegates. See ietf-tools#557
- Legacy-Id: 2687
1 parent c220935 commit 6520954

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

ietf/wgchairs/__init__.py

Whitespace-only changes.

ietf/wgchairs/models.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
from django.db import models
2+
3+
from ietf.idtracker.models import IETFWG, PersonOrOrgInfo
4+
5+
6+
class WGDelegate(models.Model):
7+
person = models.ForeignKey(
8+
PersonOrOrgInfo,
9+
)
10+
11+
wg = models.ForeignKey(IETFWG)
12+
13+
def __unicode__(self):
14+
return "%s" % self.person
15+
16+
class Meta:
17+
verbose_name = "WG Delegate"

0 commit comments

Comments
 (0)