Opened 12 years ago
Closed 12 years ago
#19815 closed Cleanup/optimization (fixed)
unused import in urls.py
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
This is not a big deal at all, but in the page: https://docs.djangoproject.com/en/1.4/intro/tutorial03/, when we refactor the urls.py, the urls.py code that belongs to the polls has the following imports:
from django.conf.urls import patterns, include, url
In this case, include is not needed, and to keep things perfectly tidy, it shouldn't be imported.
Note:
See TracTickets
for help on using tickets.
In 9eb7d59665972690bea790fd1ed12eeb142c0ee4: