never mind forgot to change the "mysite" to "ubertester" I am doing so many stupid things in the tutorial
On May 13, 3:27 pm, sebey <[EMAIL PROTECTED]> wrote: > hey I am having problems with the tutorial in the docs on page 3 and I > am at the stage where I have created my first veiw and I get this back > the index page: > > Page not found (404) > Request Method: GET > Request URL: http://localhost:8000/ > > Using the URLconf defined in ubertester.urls, Django tried these URL > patterns, in this order: > > 1. ^admin/ > 2. ^polls/$ > 3. ^polls/(?P<poll_id>\d+)/$ > 4. ^polls/(?P<poll_id>\d+)/results/$ > 5. ^polls/(?P<poll_id>\d+)/vote/$ > > The current URL, /, didn't match any of these. > > and I get this traceback form /polls > > Traceback (most recent call last): > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ > site-packages/django/core/handlers/base.py" in get_response > 68. callback, callback_args, callback_kwargs = > resolver.resolve(request.path) > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ > site-packages/django/core/urlresolvers.py" in resolve > 162. sub_match = pattern.resolve(new_path) > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ > site-packages/django/core/urlresolvers.py" in resolve > 118. return self.callback, args, kwargs > File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/ > site-packages/django/core/urlresolvers.py" in _get_callback > 127. raise ViewDoesNotExist, "Could not import %s. Error was: %s" % > (mod_name, str(e)) > > ViewDoesNotExist at /polls/ > Could not import mysite.polls.views. Error was: No module named > mysite.polls.views > > any help would be really thankful --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

