OK. I think the problem is solved. I missed a possible error that
could have been (and was) raised. The new patch also separates logic
for determining if there are any INSTALLED_APPS and if there's a
project directory, since it's conceivable (as in the tests) that one
could be set, but not the other.

Todd

On Nov 16, 2007 4:30 PM, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
> Just replied directly to Russ, but I'll mention this here for posterity.
>
> I found the problem--I'd missed an ImportError in an except clause.
> Unfortunately, now all the tests run, but the one that loads the user
> commands (tests/modeltests/user_commands) fails because the dance
> command isn't available when the code runs. I was thinking that
> perhaps the commands were cached before the user_commands app was
> added to INSTALLED_APPS, but I tried turning off caching and had no
> more luck.
>
> I need to play with it some more, but if anyone has an idea why the
> commands for an app that's in INSTALLED_APPS wouldn't be available,
> feel free to share.
>
> Todd
>
>
> On Nov 15, 2007 6:24 AM, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
> >
> > On 11/15/07, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
> > >
> > > Patch provided in
> > >
> > > http://code.djangoproject.com/ticket/5943
> > >
> >
> > Thanks, Todd. The patch isn't quite correct - details of the problem I
> > found are attached to the patch.
> >
> > Yours,
> > Russ Magee %-)
> >
> >
> > > >
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to