Skip to content

Commit

Permalink
datetime for Attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Apr 8, 2016
1 parent fc14aa9 commit b1a806b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/domain/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ class Attribute(AttributeEntity):
VALUE_TYPE_INTEGER = 'integer'
VALUE_TYPE_FLOAT = 'float'
VALUE_TYPE_BOOLEAN = 'boolean'
VALUE_TYPE_DATETIME = 'datetime'
VALUE_TYPE_CHOICES = (
(VALUE_TYPE_TEXT, _('Text')),
(VALUE_TYPE_INTEGER, _('Integer')),
(VALUE_TYPE_FLOAT, _('Float')),
(VALUE_TYPE_BOOLEAN, _('Boolean')),
(VALUE_TYPE_DATETIME, _('Datetime'))
)

attributeset = models.ForeignKey('AttributeSet', blank=True, null=True, related_name='attributes', help_text='optional')
Expand Down

0 comments on commit b1a806b

Please sign in to comment.