temp fix for failing for logged in user
This commit is contained in:
parent
c8fc941d73
commit
df47581b7c
|
@ -68,6 +68,11 @@ def api_apidoc(request):
|
|||
docs[f] = get_api_doc(f)
|
||||
return render_to_json_response(json_response({'actions': docs}))
|
||||
|
||||
|
||||
#FIXME: REMOVE THIS FUNCTION WHEN THERE ARE REAL USERS!!!!
|
||||
def get_user_json(u):
|
||||
return {'name': 'Guest', 'group': 'guest', 'preferences': {}}
|
||||
|
||||
def api_hello(request):
|
||||
'''
|
||||
return {'status': {'code': int, 'text': string},
|
||||
|
|
Loading…
Reference in New Issue
Block a user