#21587: Make generic RedirectView default to permanent=False
-------------------------------+----------------------------
     Reporter:  wraus@…        |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Generic views  |    Version:  1.6
     Severity:  Normal         |   Keywords:  redirect, view
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  1              |      UI/UX:  0
-------------------------------+----------------------------
 Having been bitten by this, and seeing some other reports of it, it seems
 very unintuitive that RedirectView defaults to permanent.

 Permanent redirects are cached on the browser, so the ramifications of
 accidentally making a permanent redirect away from an URL you are
 currently using or intend to use in the future are fairly serious. On the
 flip side, using a non-permanent redirect when you meant to use a
 permanent one has little real impact outside of taking slightly more time
 to redirect.

 Having RedirectView default the permanent argument to False wouldn't
 actually break existing sites, since it will still redirect, so there's no
 serious backwards compatibility issues.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21587>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.3984fa540fd3a096c2981612ebd85967%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to