On Dec 10, 8:52 pm, Milan Andric <[EMAIL PROTECTED]> wrote:
> I'm getting one of those bubbly exceptions coming through the template
> that are tricky to debug.
>
> TemplateSyntaxError at /
> Caught an exception while rendering: Could not import
> journalism_mm.workshops.views. Error was: No module named utils
>
> http://dpaste.com/97981/
>
> I was reorganizing my code, moving directories around and upgrading
> all my third party apps I reference.
> I also upgraded to django 1.0.x from svn. I have grepped my code base
> for a dangling utils, but no luck. I was thinking to use pdb.set_trace
> () but don't know where to begin besides googling. Also tried
> removing all .pyc files but didn't help.
>
> Any help is greatly appreciated.
Got help on IRC. All I needed to do was try to import
journalism_mm.workshops.views in the shell and was pointed to the bad
import in journalism_mm.workshops.forms.
----> 8 from django.forms.utils import ValidationError
Old cruft. Thanks rozwell. I should have tried the shell first
before pdb. hah.
--
Milan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---