I can haz a Python.
parent
4ab1f2a623
commit
17415a4278
|
@ -35,4 +35,4 @@ class BlogMiddleware:
|
||||||
request.blog_user = pro_user
|
request.blog_user = pro_user
|
||||||
|
|
||||||
if host != pro_user.profile.get_primary_blog_domain:
|
if host != pro_user.profile.get_primary_blog_domain:
|
||||||
return HttpResponseRedirect(pro_user.profile.get_primary_blog_domain)
|
return HttpResponseRedirect(pro_user.profile.get_primary_blog_domain())
|
||||||
|
|
Loading…
Reference in New Issue