We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a39965 commit 431c4cfCopy full SHA for 431c4cf
1 file changed
ietf/ipr/models.py
@@ -149,10 +149,12 @@ class IprContact(models.Model):
149
fax = models.CharField(blank=True, maxlength=25)
150
email = models.EmailField(maxlength=255, core=True)
151
def __str__(self):
152
- return self.name
+ return self.name or '<no name>'
153
class Meta:
154
db_table = 'ipr_contacts'
155
class Admin:
156
+ # would like contact_type
157
+ list_display = ('__str__', 'ipr')
158
pass
159
160
0 commit comments