Skip to content

Commit 20fb8ff

Browse files
committed
Fix the now wrong comment about WG charter canonical names being able
to change - Legacy-Id: 7937
1 parent e92e57a commit 20fb8ff

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

ietf/doc/models.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,11 @@ class Meta:
482482

483483
class DocHistory(DocumentInfo):
484484
doc = models.ForeignKey(Document, related_name="history_set")
485-
name = models.CharField(max_length=255) # WG charter canonical names can change if the group acronym changes
485+
# the name here is used to capture the canonical name at the time
486+
# - it would perhaps be more elegant to simply call the attribute
487+
# canonical_name and replace the function on Document with a
488+
# property
489+
name = models.CharField(max_length=255)
486490
related = models.ManyToManyField('DocAlias', through=RelatedDocHistory, blank=True)
487491
authors = models.ManyToManyField(Email, through=DocHistoryAuthor, blank=True)
488492
def __unicode__(self):

0 commit comments

Comments
 (0)