﻿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
11829	django-admin model validation mistake	Nick Meharry	nobody	"In one of my models I have a field that would be logically be called `class`, but because it is a reserved word, I renamed the field to `class_` (notice the trailing underscore). I also set the `db_column` kwarg to `class`. I then run `./manage.py sql tracker`, and get this error:
{{{
    Error: One or more models did not validate:
    tracker.assignment: ""class_"": Field names cannot end with underscores, because this would lead to ambiguous queryset filters.
}}}

However, when I set the model name to `klass`, the output shows it recognizes the `db_column` setting. It seems that the validator should check for that setting before emitting an error. Is there a work around I should use for now? I'd rather not spell ""class"" with a ""k"".

System Info:
 * Ubuntu 9.04
 * Django 1.0.2

-- Nick"		closed	Core (Management commands)	1.0		invalid	model db_column		Unreviewed	0	0	0	0	0	0
