Hey Guys and Gals,
I am trying to setup and run the tutorial program from the Django
tutorial at
djangobook.com. I have my PYTHONPATH variable set to
include my project path which includes views.py, but am unable to run
it via the django lite server. Each time I run it I get this error...
ImportError at /time/
No module named views
Request Method: GET
Request URL:
http://127.0.0.1:8000/time/
Exception Type: ImportError
Exception Value: No module named views
Exception Location: C:\Python25\Lib\site-packages\django\core
\urlresolvers.py in _get_urlconf_module, line 177
I have the file views.py in my pythonpath, and it is referenced in
urls.py just like in the example. It just won't connect. Am I
missing something? Any help greatly appreciated.
here is the trackback info
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\django\core\handlers\base.py" in
get_response
68. callback, callback_args, callback_kwargs =
resolver.resolve(request.path)
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py" in
resolve
160. for pattern in self.urlconf_module.urlpatterns:
File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py" in
_get_urlconf_module
177. self._urlconf_module = __import__(self.urlconf_name, {}, {},
[''])
ImportError at /time/
No module named views
any help greatly appreciated! Thanks, tm