Forgot to add to user_list view. Fixed

This commit is contained in:
Tanshu 2013-05-16 14:55:07 +05:30
parent 1bf0914389
commit ec45880dea

View File

@ -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 = []