Need moar regex but this'll do for now.

master
Nick Sergeant 2013-02-12 01:35:24 -05:00
parent aa70f98a5f
commit 7685268b7c
1 changed files with 1 additions and 1 deletions

View File

@ -35,4 +35,4 @@ class BlogMiddleware:
request.blog_user = pro_user
if host != pro_user.profile.get_primary_blog_domain():
return HttpResponseRedirect(pro_user.profile.get_primary_blog_domain())
return HttpResponseRedirect('http://' + pro_user.profile.get_primary_blog_domain())