#15005: Documentation of django.views.generic.simple.redirect_to incorrect?
---------------------------+------------------------------------------------
Reporter: nkuttler | Owner: nobody
Status: new | Milestone: 1.3
Component: Documentation | Version: 1.3-beta
Keywords: | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
On http://docs.djangoproject.com/en/dev/ref/generic-views/?from=olddocs
#django-views-generic-simple-redirect-to the examples like
{{{
urlpatterns = patterns('django.views.generic.simple',
('^foo/(?P<id>\d+)/$', 'redirect_to', {'url': '/bar/%(id)s/'}),
)
}}}
seem to be incorrect. redirect_to isn't supposed to be a string but the
class?
--
Ticket URL: <http://code.djangoproject.com/ticket/15005>
Django <http://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.