Slight difference in urls.py btw tutorial and installation
|Reported by:||MixedContent||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In Part 2 of the tutorial,
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.