magic-removal: changed explicit settings import to qualified settings import django.contrib.sites

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Georg Bauer 2006-01-16 15:02:02 +00:00
parent 91f21f0641
commit f53492df56
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ from django.utils.translation import gettext_lazy as _
class SiteManager(models.Manager):
def get_current(self):
from django.conf.settings import SITE_ID
return self.get_object(pk=SITE_ID)
from django.conf import settings
return self.get_object(pk=settings.SITE_ID)
class Site(models.Model):
domain = models.CharField(_('domain name'), maxlength=100)