diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2008-12-08 04:53:34 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2008-12-08 04:53:34 +0000 |
| commit | b76d7c1decb04cdb7ec363cd589f273952ab789a (patch) | |
| tree | 2fa7743da37cca1ae94cfaaa21f11d9e9c9ca935 /scripts | |
| parent | e9b90d98998da48d4ac18aabe135fa4200547be5 (diff) | |
Added a 'permanent' argument the simple.redirect_to() generic view. It's True by default, to match existing behavior. If set to False, the redirect will be a 302 instead of a 301. This is technically backwards-incompatible if you were using the redirect_to generic view with a format-string key called 'permanent', which is highly, highly unlikely.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
