Fixed #3265 -- Made it a validation error to have field names with trailing
commite6dc6d0adc8d1c6576ca635c41cd28b5b78c2762
authormtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sun, 21 Oct 2007 21:53:18 +0000 (21 21:53 +0000)
committermtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sun, 21 Oct 2007 21:53:18 +0000 (21 21:53 +0000)
tree0d107c5dc3b40076a92dc2432944d3c444c618f5
parent47f877cda18c50e0c209d2f5234cd77facf38ecb
Fixed #3265 -- Made it a validation error to have field names with trailing
underscores. Allowing these would enable peopleto write ambiguous queryset
filters (plus makes parsing filters much harder).

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
django/core/management/validation.py
tests/modeltests/invalid_models/models.py