--
Ticket URL: <https://code.djangoproject.com/ticket/16192>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_docs: => 0
* needs_better_patch: => 0
* needs_tests: => 0
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/16192#comment:1>
* component: Forms => Database layer (models, ORM)
--
Ticket URL: <https://code.djangoproject.com/ticket/16192#comment:2>
Comment (by Marboni):
Are you guys plan to fix it in 1.4?
--
Ticket URL: <https://code.djangoproject.com/ticket/16192#comment:3>
Comment (by aaugustin):
This ticket hasn't gotten much attention. Apparently, no one cares enough
to write a patch. Until someone does, the feature won't be implemented.
--
Ticket URL: <https://code.djangoproject.com/ticket/16192#comment:4>
Comment (by anonymous):
I think it should get the attention it deserves. Providing the checking of
the fields without allowing to use a proper error message is like buying a
car which an alarm but without a door.
--
Ticket URL: <https://code.djangoproject.com/ticket/16192#comment:5>
Comment (by glynjackson):
More attention please! Are there any plans for this yet? I'm not confident
enough yet to submit a patch but would like to work on this with someone.
--
Ticket URL: <https://code.djangoproject.com/ticket/16192#comment:6>
* version: 1.3 => 1.6
--
Ticket URL: <https://code.djangoproject.com/ticket/16192#comment:7>
* cc: loic@… (added)
* has_patch: 0 => 1
* version: 1.6 => master
Comment:
@glynjackson, I've had a go at this, could you please check if it solves
your issue?
https://github.com/django/django/pull/2235
--
Ticket URL: <https://code.djangoproject.com/ticket/16192#comment:8>
* needs_docs: 0 => 1
Comment:
Looks reasonable to me, but needs documentation.
--
Ticket URL: <https://code.djangoproject.com/ticket/16192#comment:9>
Comment (by loic84):
@timo what kind of documentation do you have in mind? Just an entry in the
release notes?
--
Ticket URL: <https://code.djangoproject.com/ticket/16192#comment:10>
* needs_docs: 1 => 0
Comment:
Added documentation to the PR.
--
Ticket URL: <https://code.djangoproject.com/ticket/16192#comment:11>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"8847a0c601e4261823b1726b2db73eec2ac17940"]:
{{{
#!CommitTicketReference repository=""
revision="8847a0c601e4261823b1726b2db73eec2ac17940"
Fixed #16192 -- Made unique error messages in ModelForm customizable.
Overriding the error messages now works for both unique fields,
unique_together
and unique_for_date.
This patch changed the overriding logic to allow customizing
NON_FIELD_ERRORS
since previously only fields' errors were customizable.
Refs #20199.
Thanks leahculver for the suggestion.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/16192#comment:12>