#14410 closed (invalid)
django.db.models.fields.__init__.py class Field.validate failed
Reported by: | tangc | Owned by: | |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 1.2 |
Severity: | Keywords: | db models Field validate | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The validate failed if a value is a list.
e.g.
self._choices = [(u'PE', u'PE'), (u'Img', u'Img'), (u'Unknown', u'Unknown'), (u'Other', u'Other')] value = [u'PE', u'Other']
Attachments (2)
Change History (4)
by , 14 years ago
Attachment: | diff_svn_r13540.txt added |
---|
by , 14 years ago
Attachment: | diff_svn_r13540 added |
---|
comment:1 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 12 years ago
Component: | ORM aggregation → Database layer (models, ORM) |
---|
Note:
See TracTickets
for help on using tickets.
I'm afraid it's not entirely clear what are you trying to achieve. Please open a thread on django-developers if you have a feature suggestion and want some feedback.