Revision 315fe235
ID | 315fe2358c9f25073d53ff33e056a5c83c4aa2df |
astakos: check that request.user is a 'User'
Update astakos 'get_menu' API method, to check if request.user is an
instance of django User model. This view function called by astakos
context processor. However, if astakos and helpdesk are installed
together, the request.user will not hold an AnonymousUser, but a
dictionary. This issue caused some weird logs when running tests.
Files
- added
- modified
- copied
- renamed
- deleted