datatracker/ietf/idindex/models.py
Henrik Levkowetz cd030d3b43 Adding copyright notices to all python files
- Legacy-Id: 716
2007-06-27 21:16:34 +00:00

22 lines
569 B
Python

# Copyright The IETF Trust 2007, All Rights Reserved
#from django.db import models
alphabet = [chr(65 + i) for i in range(0, 26)]
orgs_dict = {
'iab': { 'name': 'IAB' },
'iana': { 'name': 'IANA' },
'iasa': { 'name': 'IASA' },
'iesg': { 'name': 'IESG' },
'irtf': { 'name': 'IRTF' },
'proto': { 'name': 'PROTO' },
'rfc-editor': { 'name': 'RFC Editor', 'prefixes': [ 'rfc-editor', 'rfced' ] },
'tools': { 'name': 'Tools' },
}
orgs_keys = orgs_dict.keys()
for o in orgs_keys:
orgs_dict[o]['key'] = o
orgs_keys.sort()
orgs = [orgs_dict[o] for o in orgs_keys]