﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27947	Document that model field error_messages don't carry over to forms	Jimmy Merrild Krag	Taavi Teska	"I have the following field in a model:


{{{
    reference = models.SlugField(
        max_length=20,
        blank=False, null=False,
        error_messages={
            'invalid': _('A reference may only contain letters, numbers, underscores and hyphens.'),
        })
}}}


however, when submitting the field in a `ModelForm` with invalid content (e.g. containing a space character) the error message is the default one for `SlugField` and not the one I set."	Cleanup/optimization	closed	Documentation	1.8	Normal	fixed			Ready for checkin	1	0	0	0	0	0
