mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	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:
		| @@ -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',) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user