wcsinst: set a max length for domain

This commit is contained in:
Frédéric Péters 2013-06-12 22:52:31 +02:00
parent dff306533c
commit f6f676d5b2
1 changed files with 1 additions and 1 deletions

View File

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