﻿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
1905	[patch] manage.py validate exception when you forget to remove comma	gary.wilson@…	Adrian Holovaty	"When upgrading to post-magic-removal merge, forgetting to remove the pesky comma here
{{{
#!python
class Admin:
    list_display = ('owner','name'),
}}}

will give you
{{{
Traceback (most recent call last):
  File ""manage.py"", line 11, in ?
    execute_manager(settings)
  File ""/usr/lib/python2.4/site-packages/django/core/management.py"", line 1241, in execute_manager
    execute_from_command_line(action_mapping)
  File ""/usr/lib/python2.4/site-packages/django/core/management.py"", line 1167, in execute_from_command_line
    action_mapping[action]()
  File ""/usr/lib/python2.4/site-packages/django/core/management.py"", line 948, in validate
    num_errors = get_validation_errors(outfile)
  File ""/usr/lib/python2.4/site-packages/django/core/management.py"", line 894, in get_validation_errors
    if not hasattr(cls, fn):
TypeError: hasattr(): attribute name must be string
}}}

A more friendly message would be helpful..."	enhancement	closed	contrib.admin	dev	normal	wontfix			Unreviewed	1	0	0	0	0	0
