Re: url problems

2011-07-04 Thread Herman Schistad
> the current url (path) is C:\Users\Dagon\mysite. Everything is relative to > mysite. Make sure you read the guide once more, and that you have "runserver" up and running (issue the command: python manage.py runserver" Then you go to the following URL: localhost:8000/polls and you will hopefully

Re: url problems

2011-07-04 Thread Daniel Roseman
What? URLs have nothing to do with file paths. There is nothing wrong here at all. The tutorial got you to define some URLs beginning with 'polls'. You have to go to one of those URLs. Going to the root of the site won't work, because you haven't set up a URL for it. -- DR. -- You received th

Re: url problems

2011-07-04 Thread charles
On 11/07/04 17:14, Michał Sawicz wrote: Dnia 2011-07-04, pon o godzinie 16:50 -0500, charles pisze: The current URL, , didn't match any of these. And the current URL was? the current url (path) is C:\Users\Dagon\mysite. Everything is relative to mysite. -- You received this message because y

Re: url problems

2011-07-04 Thread Michał Sawicz
Dnia 2011-07-04, pon o godzinie 16:50 -0500, charles pisze: > The current URL, , didn't match any of these. And the current URL was? -- Michał (Saviq) Sawicz signature.asc Description: This is a digitally signed message part

url problems

2011-07-04 Thread charles
I am trying to work through the 3rd part of the tutorial and I have a problem. When I copy and past urlpatterns = patterns('', (r'^polls/$', 'polls.views.index'), (r'^polls/(?P\d+)/$', 'polls.views.detail'), (r'^polls/(?P\d+)/results/$', 'polls.views.results'), (r'^polls/(?P

Best Practices for debugging URL problems

2009-01-21 Thread Adam Nelson
I recently had what is a common issue for many Django developers: "No module named urls" What turned out to be the issue is that I had deleted one of the urls.py files accidentally because I deleted an app that I thought I was no longer being used but was in fact being called by the top level ur

Re: URL problems after newforms admin migration

2008-07-24 Thread Karen Tracey
On Tue, Jul 22, 2008 at 2:17 PM, Matthew <[EMAIL PROTECTED]> wrote: > > Hey everyone, I recently updated a development version of my Django > site to use the newforms admin, following the tutorial here > > http://oebfare.com/blog/2008/jul/20/newforms-admin-migration-and-screencast/ > It all went f

Re: URL problems after newforms admin migration

2008-07-22 Thread Matthew
Hmm, unfortunately I'm running this test environment on a Media Temple Gridserver container, so I have no access to the httpd.conf for changing stuff like that :( I'm not too bothered with the problem whilst I'm testing it, but I wouldn't want this to crop up when I'm trying to move it all across