Projet

Général

Profil

Development #23272

Mis à jour par Anonyme il y a environ 6 ans

Le system check est CRITICAL pour django 1.11 :

- avec django 1.11 et la branche authentic wip/django111

<pre>
> authentic-multitenant-manage migrate_schemas

SystemCheckError: System check identified some issues:

CRITICALS:
custom_user.User: (auth.C009) <class 'authentic2.custom_user.models.User'>.is_anonymous must be an attribute or property rather than a method. Ignoring this is a security issue as anonymous users will be treated as authenticated!
custom_user.User: (auth.C010) <class 'authentic2.custom_user.models.User'>.is_authenticated must be an attribute or property rather than a method. Ignoring this is a security issue as anonymous users will be treated as authenticated!

</pre>

* à lire ici : http://django.readthedocs.io/en/1.11.x/ref/checks.html#checkmessage

<pre>
If f the level is greater or equal to ERROR, then Django will prevent management commands from executing.
</pre>

* http://django.readthedocs.io/en/1.11.x/ref/checks.html#auth

Retour