Re: autodiscover() fails too silently...

2008-07-21 Thread [EMAIL PROTECTED]
Brian and I looked briefly at testing for the modules existence using the imp module, and that may yet happen, but for know, be aware of your own code. On Jul 21, 5:47 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Mon, Jul 21, 2008 at 4:12 PM, Amit Ramon <[EMAIL PROTECTED]> wrote: > >

Re: autodiscover() fails too silently...

2008-07-21 Thread James Bennett
On Mon, Jul 21, 2008 at 4:12 PM, Amit Ramon <[EMAIL PROTECTED]> wrote: > autodiscover() goes over INSTALLED_APPS and tries to import their admin > modules. When such a module isn't present, ImportError is caught and > consumed. However, if some admin module do exists, but for some reason it >

autodiscover() fails too silently...

2008-07-21 Thread Amit Ramon
Hi, autodiscover() goes over INSTALLED_APPS and tries to import their admin modules. When such a module isn't present, ImportError is caught and consumed. However, if some admin module do exists, but for some reason it throws an ImportError (e.g., it tries to load a non-existing module), it