Forgot to add to user_list view. Fixed
This commit is contained in:
parent
1bf0914389
commit
ec45880dea
@ -85,9 +85,7 @@ def show_blank(request):
|
||||
return user_info(None)
|
||||
|
||||
|
||||
# @view_config(request_method='GET', route_name='api_user', renderer='json', request_param='list', permission='Users')
|
||||
# for import
|
||||
@view_config(request_method='GET', route_name='api_user', renderer='json', request_param='list')
|
||||
@view_config(request_method='GET', route_name='api_user', renderer='json', request_param='list', permission='Users')
|
||||
def show_list(request):
|
||||
list = User.list()
|
||||
users = []
|
||||
|
Loading…
Reference in New Issue
Block a user