Snirp
2006-12-05 14:24:18 UTC
Hi there,
I am starting off with django and decided to stick with the "django
book"
The webserver initiates just fine, and i made the first example: return
current time when requested the URL: /now/
It returns the following error when requesting the url:
Traceback (most recent call last):
File "d:\webdev\python\django\core\handlers\base.py" in get_response
65. callback, callback_args, callback_kwargs = resolver.resolve(path)
File "d:\webdev\python\django\core\urlresolvers.py" in resolve
145. for pattern in self.urlconf_module.urlpatterns:
File "d:\webdev\python\django\core\urlresolvers.py" in
_get_urlconf_module
161. self._urlconf_module = __import__(self.urlconf_name, '', '',
[''])
ImportError at /now/
No module named py
The path to d:\webdev\python is just fine and the welcome screen
displays just fine.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com
To unsubscribe from this group, send email to django-users-***@googlegroups.com
For more options, visit this group at http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
I am starting off with django and decided to stick with the "django
book"
The webserver initiates just fine, and i made the first example: return
current time when requested the URL: /now/
It returns the following error when requesting the url:
Traceback (most recent call last):
File "d:\webdev\python\django\core\handlers\base.py" in get_response
65. callback, callback_args, callback_kwargs = resolver.resolve(path)
File "d:\webdev\python\django\core\urlresolvers.py" in resolve
145. for pattern in self.urlconf_module.urlpatterns:
File "d:\webdev\python\django\core\urlresolvers.py" in
_get_urlconf_module
161. self._urlconf_module = __import__(self.urlconf_name, '', '',
[''])
ImportError at /now/
No module named py
The path to d:\webdev\python is just fine and the welcome screen
displays just fine.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-***@googlegroups.com
To unsubscribe from this group, send email to django-users-***@googlegroups.com
For more options, visit this group at http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---