Skip to content

Commit

Permalink
remove mad comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wtayyeb committed Dec 8, 2016
1 parent 8048d05 commit 3531719
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions theming/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ class ThemingMiddleware(object):

def process_request(self, request):
try:
# site = Site.objects._get_site_by_request(request) # django 1.8+

host = request.get_host()
if host not in SITE_CACHE:
site = Site.objects.get(domain__iexact=host)
Expand Down

0 comments on commit 3531719

Please sign in to comment.