First tutorial - 404

29 views
Skip to first unread message

Steve Booth

unread,
Feb 15, 2014, 4:11:34 PM2/15/14
to django...@googlegroups.com
I've been Googling on this for several hours.  Time to ask.

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.

Any help would be greatly appreciated. 

I shouldn't have to be asking this ... it should just work.

yati sagade

unread,
Feb 16, 2014, 1:44:59 AM2/16/14
to django...@googlegroups.com
The tutorial for 1.4 can be found here: https://docs.djangoproject.com/en/1.4/intro/tutorial01/ (For other versions, just change the 1.4 in that URL to the version you'd like). I am curious, is there a reason you want to continue learning with 1.4, like you are stuck with it for some reason? If not, why not just upgrade? (I'm sure you'd have thought about this, but as I said, I'm curious :))


--
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...@googlegroups.com.
To post to this group, send email to django...@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/b8be3c8b-9c0a-4812-89b3-777ded918b65%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Yati Sagade

Software Engineer at mquotient

Twitter: @yati_itay | Github: yati-sagade

Organizing member of TEDx EasternMetropolitanBypass
http://www.ted.com/tedx/events/4933
https://www.facebook.com/pages/TEDx-EasternMetropolitanBypass/337763226244869

Camilo Torres

unread,
Feb 16, 2014, 9:32:18 AM2/16/14
to django...@googlegroups.com
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.

Mattia Procopio

unread,
Feb 16, 2014, 12:36:04 PM2/16/14
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages