wcsinst: set a max length for domain
This commit is contained in:
parent
dff306533c
commit
f6f676d5b2
|
@ -9,7 +9,7 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
class WcsInstance(models.Model):
|
||||
title = models.CharField(max_length=50)
|
||||
domain = models.CharField()
|
||||
domain = models.CharField(max_length=100)
|
||||
|
||||
def __unicode__(self):
|
||||
return '%s (%s)' % (self.title, self.domain)
|
||||
|
|
Reference in New Issue