Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1205 closed defect (invalid)

PasswordField for secret input is missing and not easily self-madeable.

Reported by: Henning Hasemann Owned by: Adrian Holovaty
Component: Metasystem Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


There doesnt seem to be a thing like a PasswordField, or?
I found a formfield.PasswordField, but when I try to derive from CharField like this:

class PasswordField(meta.CharField):

def get_manipulator_field_objs(self):

return [formfields.PasswordField]

and want to use the resulting class, throws:

File "/usr/lib/python2.3/site-packages/django/core/", line 75, in get_sql_create

col_type = db.DATA_TYPES[data_type]

KeyError: 'PasswordField'

Change History (2)

comment:1 Changed 12 years ago by Adrian Holovaty

Resolution: invalid
Status: newclosed

Add this to your PasswordField:

    def get_internal_type(self):
        return 'CharField'

comment:2 Changed 12 years ago by Adrian Holovaty

milestone: Version 0.91

Milestone Version 0.91 deleted

Note: See TracTickets for help on using tickets.
Back to Top