Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
2a832add
Commit
2a832add
authored
Jun 18, 2013
by
Kostas Papadimitriou
Browse files
cyclades: Set supported serialization in stats view
parent
a8883097
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-cyclades-app/synnefo/admin/views.py
View file @
2a832add
...
...
@@ -44,7 +44,7 @@ log = logging.getLogger(__name__)
@
api
.
api_method
(
http_method
=
'GET'
,
user_required
=
False
,
token_required
=
False
,
logger
=
log
)
logger
=
log
,
serializations
=
[
'json'
]
)
@
api
.
allow_jsonp
()
def
get_stats
(
request
):
stats
=
get_statistics
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment