Change TYPE_CHOICES to be integers to match the actual model type

- Legacy-Id: 3890
This commit is contained in:
Ole Laursen 2012-02-01 19:14:45 +00:00
parent 29df970cbb
commit 99386413af

View file

@ -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")