On Saturday, February 15, 2014 4:41:34 PM UTC-4:30, Steve Booth wrote: > > I'm just trying to run through the very first tutorial, and frankly, it's > been a nightmare. Running under Fedora 18, Python 2.7, Django version is > 1.4.5. > > So, I got the 1.4 tutorial up, created the site.. all works fine. Fire up > the server -- looks great. Browse to http://127.0.0.1:800.. > > And I do NOT get the nice, blue Django page, I get a Page Not Found 404 > error telling me the URLconf in mysite.urls does not match '^admin/' > > Well... YEA! So either the 1.4 tutorial doc's are wrong, or the default > site doesnt work, or I dont know what I'm doing. >
You're right!! How do you installed Django 1.4? did you a 'pip install django==1.4'? I did installed via pip and gave the same result as yours. That is because the version installed via pip have the admin url configured by default. Please, edit your mysite/urls.py, and comment line 11 to be like this: #url(r'^admin/', include(admin.site.urls)), then reload your page and continue with the tutorial. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3be0804c-a93c-499e-b758-7eba9e057b7b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.