Hum... I tried to test the imports on IDLE but I couldn't import the
file in anyway I tried..
I went to the Path Browser on IDLE and I couldn't find the
newforms.py file that I created. I then noticed that in all the other
folders there was a file named __init__.py, so I copied one of those
init files to the utils folder. Now my IDLE shows this file on the
Path.
I tried to import the TemplatedForm, but I still get this error:
from Manager.utils import TemplatedForm
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from Manager.utils import TemplatedForm
ImportError: cannot import name TemplatedForm
Why can't it import the thing?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---