diff options
author | etienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864> | 2009-04-07 10:22:35 +0000 |
---|---|---|
committer | etienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864> | 2009-04-07 10:22:35 +0000 |
commit | 7a49305aee5846ced735dbaba2e0fc7cd2c027c0 (patch) | |
tree | 75cdc5aee1a2591e69edec85ae468f597420b0a2 /main/models.py | |
parent | 8159df7f9733bcc16b3480678eaa0243da5803bc (diff) | |
download | Chimère-7a49305aee5846ced735dbaba2e0fc7cd2c027c0.tar.bz2 Chimère-7a49305aee5846ced735dbaba2e0fc7cd2c027c0.zip |
TinyMCE integration (#55)
git-svn-id: http://www.peacefrogs.net/svn/chimere/trunk@30 9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864
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 |