#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: | no | UI/UX: | no |
Description
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, manage.py throws:
File "/usr/lib/python2.3/site-packages/django/core/management.py", line 75, in get_sql_create
col_type = db.DATA_TYPES[data_type]
KeyError: 'PasswordField'
Note:
See TracTickets
for help on using tickets.
Add this to your
PasswordField
: