From 99386413af6597c8913a4f9b16b4a3db306f682d Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Wed, 1 Feb 2012 19:14:45 +0000 Subject: [PATCH] Change TYPE_CHOICES to be integers to match the actual model type - Legacy-Id: 3890 --- ietf/ipr/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ietf/ipr/models.py b/ietf/ipr/models.py index 74cb5f220..132e559dc 100644 --- a/ietf/ipr/models.py +++ b/ietf/ipr/models.py @@ -145,9 +145,9 @@ class IprDetail(models.Model): class IprContact(models.Model): TYPE_CHOICES = ( - ('1', 'Patent Holder Contact'), - ('2', 'IETF Participant Contact'), - ('3', 'Submitter Contact'), + (1, 'Patent Holder Contact'), + (2, 'IETF Participant Contact'), + (3, 'Submitter Contact'), ) contact_id = models.AutoField(primary_key=True) ipr = models.ForeignKey(IprDetail, related_name="contact")