magic-removal: Added 'db_table' for Site model to restore backwards compatibility until we decide for certain that the table should be renamed

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-01-09 01:25:10 +00:00
parent 5df59f478e
commit aa2da5f4de
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ class Site(models.Model):
name = models.CharField(_('display name'), maxlength=50) name = models.CharField(_('display name'), maxlength=50)
objects = SiteManager() objects = SiteManager()
class Meta: class Meta:
db_table = 'sites'
verbose_name = _('site') verbose_name = _('site')
verbose_name_plural = _('sites') verbose_name_plural = _('sites')
ordering = ('domain',) ordering = ('domain',)