Project

General

Profile

Bug #21277

RemovedInDjango19Warning: Default value of 'RedirectView.permanent' will change from True to False

Added by Frédéric Péters almost 6 years ago. Updated almost 5 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
19 January 2018
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:

Description

/home/fred/src/eo/corbo/corbo/views.py:56: RemovedInDjango19Warning: Default value of 'RedirectView.permanent' will change from True to False in Django 1.9. Set an explicit value to silence this warning.
  homepage = HomepageView.as_view()

Files

Associated revisions

Revision bd73e447 (diff)
Added by Frédéric Péters almost 6 years ago

mark / redirect as non permanent (#21277)

History

#1

Updated by Frédéric Péters almost 6 years ago

Dans le ticket #19614 (fonctionnement général avec Django 1.11) c'est explicitement posé comme redirection permanente; je pense que c'est une erreur, qu'on peut facilement imaginer un moment à une page d'accueil existera, indépendante du backoffice.

#2

Updated by Thomas Noël almost 6 years ago

Farpaitement. Ack.

#3

Updated by Frédéric Péters almost 6 years ago

  • Status changed from En cours to Résolu (à déployer)
commit bd73e447b6043ed81f111854f326f35a10f4ba36
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Fri Jan 19 15:07:30 2018 +0100

    mark / redirect as non permanent (#21277)
#4

Updated by Frédéric Péters almost 5 years ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF