diff options
Diffstat (limited to 'main/models.py')
-rw-r--r-- | main/models.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/models.py b/main/models.py index 1a46ae2..16796d0 100644 --- a/main/models.py +++ b/main/models.py @@ -274,9 +274,9 @@ class PropertyModel(models.Model): TYPE = (('T', _('Text')), ('L', _('Long text')), ('P', _('Password'))) - TYPE_WIDGET = {'T':'TextInput', - 'L':'Textarea', - 'P':'PasswordInput'} + TYPE_WIDGET = {'T':'forms.TextInput', + 'L':'TextareaWidget', + 'P':'forms.PasswordInput'} type = models.CharField(_("Type"), max_length=1, choices=TYPE) def __unicode__(self): return self.name |