Over the weekend I ran into problems getting doctests to run.  I found
that imports in other modules were causing the model classes to not be
recognized by _doctest:

http://groups.google.com/group/django-users/browse_thread/thread/10f82ec0cea4ee3b

I ran out of time before I was able to determine the ultimate cause of
the problem, but put this hack in place:
I changed line 895 of _doctest from:
 return module.__name == object.__module__
to:
 return module.__name__.find(object.__module__) >=0

Again, this is a hack, but I wanted to put it into public record in
case others run into the same problem and need a quick fix (or if
someone can suggest the proper solution).

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

Reply via email to