Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'bool' object is not callable - mise à jour du module sur pypi #25

Open
jaepetto opened this issue May 17, 2019 · 0 comments
Open

'bool' object is not callable - mise à jour du module sur pypi #25

jaepetto opened this issue May 17, 2019 · 0 comments

Comments

@jaepetto
Copy link

Salut,

en suivant la configuration décrite ici, 'obtiens une exception du type TypeError.

infos:
Request Method: GET http://localhost:8000/
django version: 2.2.1
error: TypeError 'bool' object is not callable
/project/venv/lib/python3.7/site-packages/django_tequila/middleware.py in process_request, line 68
python version: 3.7.2
méthode d'installation: pip install django_tequila

Si je regarde le code source sur github:

if request.user.is_authenticated:

alors que le code installé par pip est:

if request.user.is_authenticated():

D'après ce post, il s'agit d'un problème de 'backward compatibility'.

Je pense que le code déployé sur pypi n'est pas à jour. Serait-il possible de le mettre à jour?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant