Changeset 13073 for trunk


Ignore:
Timestamp:
06/16/11 11:20:42 (13 years ago)
Author:
sil
Message:

Fixed a bug; wasn't possible to select a state of >3 characters

Location:
trunk/sara_cmt/sara_cmt/cluster
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sara_cmt/sara_cmt/cluster/models.py

    r13068 r13073  
    6363    seller = models.ForeignKey('Connection', related_name='sold', null=True, blank=True)
    6464    owner = models.ForeignKey('Connection', related_name='owns', null=True, blank=True)
    65     state = models.CharField(max_length=3, null=True, blank=True, choices=STATE_CHOICES, default='unknown')
     65    state = models.CharField(max_length=10, null=True, blank=True, choices=STATE_CHOICES, default='unknown')
    6666    warranty_tag = models.CharField(max_length=255, blank=True, null=True,
    6767                                    help_text='Service tag',
Note: See TracChangeset for help on using the changeset viewer.