It isn't safe to use configuration settings during startup, because the app
might not be loaded yet, depending on order of app in the INSTALLED_APPS.
 That was the basic problem.  That app relies on the configuration app
models being available, and they might not be yet.
In your case, you really did need to have a cache set up, lots of stuff in
Satchmo just won't work without at least a cache backend.  So it may not
have been a problem for you, but it was still dangerous to use the
configuration system like that and I needed to change it.

On Mon, Oct 20, 2008 at 9:34 AM, joshm <[EMAIL PROTECTED]> wrote:

>
> Thanks!
>
> Just for my own intellectual curiosity...was this actually broken?
> How did enabling my cache backend fix the problem?  I see you added
> this to the settings...
>
> Anyways...
>
> Thanks again.
>
> On Oct 20, 8:27 am, "Bruce Kroeze" <[EMAIL PROTECTED]> wrote:
> > I committed that change this weekend.
> >
> > On Sat, Oct 18, 2008 at 11:32 AM, Bruce Kroeze <[EMAIL PROTECTED]>
> wrote:
> > > On Sat, Oct 18, 2008 at 11:14 AM, joshm <[EMAIL PROTECTED]> wrote:
> >
> > >> I think this has to do with having my cache backend disabled.  Once I
> > >> re-enabled it everything appears to be working again.
> >
> > > I think it is not safe to use configuration app settings in admin.py
> > > modules.  I'm testing a change to use settings from settings.py to do
> the
> > > same thing.
> >
> > --
> > Bruce Kroezehttp://solidsitesolutions.com
> > Dynamic Designs, Optimized
> >
>


-- 
Bruce Kroeze
http://solidsitesolutions.com
Dynamic Designs, Optimized

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to