I was doing just that in the original post. I fixed that and got the error in the second post. I am going to give it another try now
Waylan Limberg wrote: > On 12/5/06, Snirp <[EMAIL PROTECTED]> wrote: > > > > 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 > > > > I have a sneaking suspicion that you are trying to `import > somefile.py`. When importing in your python code, the `.py` file > extension is assumed, so leave if off: `import somefile`. > > If that's not it, post your urls.py file here so we can see what may > be causing the problem. > > > > > > > The path to d:\webdev\python is just fine and the welcome screen > > displays just fine. > > > > > > > > > > > > -- > ---- > Waylan Limberg > [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---