I'd just like to point out that ALLOWED_HOSTS needs to be set 
before set_dynamic_settings is called in settings.py in case it saves 
anyone else the trouble I just went through trying to figure out why I kept 
getting the warning :)

On Sunday, September 22, 2013 1:23:50 AM UTC-4, Stephen McDonald wrote:
>
> This is done to try and alleviate the pain people went through when 
> upgrading from 1.4 to 1.5 only to find their live site go offline on first 
> deploy.
>
>
>
>
> On Sun, Sep 22, 2013 at 3:11 PM, Rodney Morison 
> <[email protected]<javascript:>
> > wrote:
>
>> Strictly in the "annoying" category, but shouldn't mezzanine only snark 
>> this message when DEBUG = False?
>>
>> /home/rod/pyves/rodmtech_net/local/lib/python2.7/site-packages/mezzanine/utils/conf.py:48:
>>  
>> UserWarning: You haven't defined the ALLOWED_HOSTS settings, which Django 
>> 1.5 requires. Will fall back to the domains configured as sites.
>>
>> per https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts
>>
>> -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Stephen McDonald
> http://jupo.org 
>

-- 
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/groups/opt_out.

Reply via email to