﻿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
29756	Missing information about model field name restriction	zdpx	nobody	"Documentation available at https://docs.djangoproject.com/en/2.1/topics/db/models/#field-name-restrictions says, that there are only 2 restrictions on naming model fields:

1. A field name cannot be a Python reserved word
2. A field name cannot contain more than one underscore in a row

I've found another restriction: field name can't ends with underscore, because it generates error during making migrations:

{{{
 (fields.E001) Field names must not end with an underscore.
}}}


"	Bug	closed	Documentation	2.1	Normal	fixed			Unreviewed	0	0	0	0	0	0
