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:
parent
5df59f478e
commit
aa2da5f4de
|
@ -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',)
|
||||||
|
|
Loading…
Reference in New Issue