Skip to content

Commit f2c636a

Browse files
committed
Fix addition of a rolodex entry in the admin interface
- Legacy-Id: 932
1 parent 0502d5c commit f2c636a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/ietfauth/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class UserMap(models.Model):
1414
user = models.ForeignKey(User, raw_id_admin=True, core=True)
1515
# user should have unique=True, but that confuses the
1616
# admin edit_inline interface.
17-
person = models.ForeignKey(PersonOrOrgInfo, edit_inline=models.STACKED, max_num_in_admin=1, unique=True)
17+
person = models.ForeignKey(PersonOrOrgInfo, edit_inline=models.STACKED, num_in_admin=1, max_num_in_admin=1, unique=True)
1818
def __str__(self):
1919
return "Mapping django user %s to IETF person %s" % ( self.user, self.person )
2020

0 commit comments

Comments
 (0)