Did you somehow remove the call to "set_dynamic_settings()" towards the end
of settings.py? That should inject "TESTING".

On Tue, Jul 14, 2015 at 2:34 AM, Melarish Ish <[email protected]> wrote:

> I just installed 4.0 and got an error "AttributeError: 'Settings' object
> has no attribute 'TESTING'" when trying to run server. Easily fixed by
> adding TESTING=False to settings.py. It seems to have happened to a
> different add-on before and there's a suggestion to add if
> hasattr(settings, 'TESTING'): to the code. The file where it happens is
> mezzanine>core>management>__init__.py on line 12
>
> https://code.osuosl.org/issues/6177
>
> --
> 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.
>



-- 
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/d/optout.

Reply via email to