Opened 13 years ago

Closed 13 years ago

#18159 closed Cleanup/optimization (fixed)

Missing import statement inside example django.shortcuts.redirect

Reported by: Nick Rehm <nicholas.rehm@…> Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The django.shorcuts.redirect example is missing the import statement inside the example
https://docs.djangoproject.com/en/dev/topics/http/shortcuts/#django.shortcuts.redirect

Change History (3)

comment:1 by Claude Paroz, 13 years ago

Triage Stage: UnreviewedAccepted

Would it by enough to just add the import statement to the first example?

comment:2 by jeffhui, 13 years ago

I added the import statement to the first example in my pull request: https://github.com/django/django/pull/140

comment:3 by Alex Gaynor, 13 years ago

Resolution: fixed
Status: newclosed

In [17927]:

Fixed #18159 -- added an import statement to the docs. Thanks to Jeff Hui for the patch.

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