Monday, January 31, 2011

Re: Weird Django Artifact Error

On 30 jan, 20:02, Samuel Baldwin <recursive.for...@gmail.com> wrote:
> I was writing a view in Django and I accidentally tried to import from
> a module 'djang.form.formsets'. Naturally this didn't work so I fixed
> it, but I still continue to get an error like it's there. I've tried
> removing all pyc files, removing the import line and all the
> subsequently affected lines, but I still get the error. Here's the
> traceback:http://dpaste.com/369991/
>
> I'm totally stumped why it would do this and what I'm supposed to do to fix it.

I assume you're either working with the builtin dev server or you
restarted Apache (or whatever web server you're using) ?

If yes, then grep is your friend:

# cd /path/to/your/project
# grep -rHne "djang\.form"

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment