Opened 4 years ago

Closed 3 years ago

Last modified 14 months ago

#14410 closed (invalid) class Field.validate failed

Reported by: ctao 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: UI/UX:


The validate failed if a value is a list.


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)

diff_svn_r13540.txt (1.6 KB) - added by ctao 4 years ago.
diff_svn_r13540 (1.6 KB) - added by ctao 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by ctao

Changed 4 years ago by ctao

comment:1 Changed 3 years ago by mariarchi

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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.

comment:2 Changed 14 months ago by akaariai

  • Component changed from ORM aggregation to Database layer (models, ORM)

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.