Opened 12 years ago

Closed 12 years ago

#19815 closed Cleanup/optimization (fixed)

unused import in urls.py

Reported by: pedro.calcao@… 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.

Change History (1)

comment:1 by Tim Graham <timograham@…>, 12 years ago

Resolution: fixed
Status: newclosed

In 9eb7d59665972690bea790fd1ed12eeb142c0ee4:

[1.4.x] Fixed #19815 - Removed an unused import in tutorial 3.

Thanks pedro.calcao@ for the report.

Note: See TracTickets for help on using tickets.
Back to Top