« Previous | Next » 

Revision 315fe235

ID315fe2358c9f25073d53ff33e056a5c83c4aa2df

Added by Christos Stavrakakis almost 11 years ago

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

View differences