Removed unused code.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant 2006-05-06 18:47:28 +00:00
parent 7a62bac56e
commit d09ae12632
1 changed files with 0 additions and 5 deletions

View File

@ -138,11 +138,6 @@ class Field(object):
if self.choices:
setattr(cls, 'get_%s_display' % self.name, curry(cls._get_FIELD_display, field=self))
def set_name(self, name):
self.name = name
self.verbose_name = self.verbose_name or name.replace('_', ' ')
self.attname, self.column = self.get_attname_column()
def get_attname(self):
return self.name