#16252: Slight difference in urls.py btw tutorial and installation
---------------------------+-------------------------------
Reporter: MixedContent | Owner: nobody
Type: Uncategorized | Status: new
Milestone: | Component: Documentation
Version: 1.3 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------+-------------------------------
In Part 2 of the tutorial,
https://docs.djangoproject.com/en/1.3/intro/tutorial02/
we are instructed to make a few changes to urls.py. We are given a
rendering of what our urls file will look like after we do this.
Edit your mysite/urls.py file and uncomment the lines that
reference the admin – there are three lines in total to
uncomment. This file is a URLconf; we’ll dig into URLconfs in the
next tutorial. For now, all you need to know is that it maps URL
roots to applications. In the end, you should have a urls.py file
that looks like this:
====
from django.conf.urls.defaults import *
[...]
====
Whereas *my* urls.py begins:
from django.conf.urls.defaults import patterns, include, url
====
There were no instructions to change the top line of the file, and I have
not made any changes to it on my own.
This may be a trivial difference, functionally, but it seems distracting
in a tutorial. Of course, it's also possible that I have a misconfigured
installation, but I think the install process went pretty smoothly.
--
Ticket URL: <https://code.djangoproject.com/ticket/16252>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en.