Project

General

Profile

Bug #37508

hobo vs djangorestframework

Added by Frédéric Péters 11 days ago. Updated 11 days ago.

Status:
Solution proposée
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
07 Nov 2019
Due date:
% Done:

0%

Patch proposed:
No
Planning:
No

Description

File "/usr/lib/python3/dist-packages/rest_framework/views.py" in dispatch
  466.             response = self.handle_exception(exc)

File "/usr/lib/python3/dist-packages/rest_framework/views.py" in dispatch
  454.             self.initial(request, *args, **kwargs)

File "/usr/lib/python3/dist-packages/rest_framework/views.py" in initial
  385.         self.check_permissions(request)

File "/usr/lib/python3/dist-packages/rest_framework/views.py" in check_permissions
  318.             if not permission.has_permission(request, self):

File "/usr/lib/python3/dist-packages/rest_framework/permissions.py" in has_permission
  47.         return request.user and request.user.is_authenticated()

Exception Type: TypeError at /api/agenda/nadia-ahres/fillslot/8:2019-06-26-1500/
Exception Value: 'bool' object is not callable

History

#1 Updated by Frédéric Péters 11 days ago

Au moins proche de #37503.

#2 Updated by Thomas Noël 11 days ago

  • Status changed from Nouveau to Solution proposée
  • Tracker changed from Support to Bug

Sauf erreur de ma part je pense que la solution de #37503 est la même ici (et donc, déjà poussée) ?

Also available in: Atom PDF