From aa2da5f4debef9ea0ff00be4a93dc9b9edc5e115 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 9 Jan 2006 01:25:10 +0000 Subject: [PATCH] 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 --- django/contrib/sites/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/contrib/sites/models.py b/django/contrib/sites/models.py index ec769bc9a9..34e8e73a8c 100644 --- a/django/contrib/sites/models.py +++ b/django/contrib/sites/models.py @@ -11,6 +11,7 @@ class Site(models.Model): name = models.CharField(_('display name'), maxlength=50) objects = SiteManager() class Meta: + db_table = 'sites' verbose_name = _('site') verbose_name_plural = _('sites') ordering = ('domain',)