]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/views/main.py
Applied feedback from Antibody, improved the *->json functionality
[xonotic/xonstat.git] / xonstat / views / main.py
old mode 100755 (executable)
new mode 100644 (file)
index 5a8bad4..05496e9
@@ -133,3 +133,10 @@ def main_index(request):
         mainindex_data['recent_games'].append(('-', '-', '-', '-'))
 
     return mainindex_data
+
+
+def main_index_json(request):
+    """
+    JSON output of the main page information.
+    """
+    return [{'status':'not implemented'}]