Hello everyone, I'm using django + mezzanine for one of my websites and I'm facing a strange behavior (looks like a bug) with request.get_host().
Actually, my website was published with a Site configuration that looked like that : Host : myWebsite.myDomain.loc Name : myWebsite I worked with this configuration for several weeks and then I realized it would be better to modify this configuration so that the ".loc" ending would be a ".net" ending because the website was released on the Internet. So I modified my Sites configuration to look like this : Host : myWebsite.myDomain.net Name : myWebsite The problem is that now, everytime Mezzanine uses "request.get_host()" in any request it shouts : "myWebsite.myDomain.loc" and not "myWebsite.myDomain.net" ! For example in tinyMCE and the asset_proxy thing, in the function "static_proxy" of core/views.py I'm printing "request.get_host()" -> "myWebsite.myDomain.loc" instead of the other one, provoking 404 errors. Any ideas on what I should change? Thanks for reading this post ! -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
