tickets: 565
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
565 | 2005-09-27 14:29:02 | 2008-08-01 15:55:49 | 2022-03-06 03:21:04.836045 | Accepted | closed | contrib.admin | defect | normal | dev | fixed | Unique fields don't work on edit_inline models | There seems to be a bug with validating inline editable items that have unique=true. To reproduce: 1) Modify the tutorial polls app so that the Choice model defines choice as: {{{ choice = meta.CharField(maxlength=200, core=True, unique=True) }}} 2) Create a poll with two choices, click 'save and continue editing' 3) Add a third choice (with unique name) and click 'save' You should see a "Choice with this choice already exists." validation error for the second choice. | nobody | kyrrigle@gmail.com | admin edit inline unique error nfa-fixed | 0 | 0 | 0 | 0 | 0 | 0 |