Browse files

magic-removal: changed explicit settings import to qualified settings…

… import django.contrib.sites

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
Georg Bauer
Georg Bauer committed Jan 16, 2006
1 parent 91f21f0 commit f53492df565ad91e18973a57fb940258bc21982d
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/sites/
@@ -3,8 +3,8 @@
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)

0 comments on commit f53492d

Please sign in to comment.