Wire up a simple forbidden response for merges.
[xonotic/xonstat.git] / xonstat / views / __init__.py
index 525d2f9d353357a1edf22b543962e4aa33866c07..a084bcc5723529ceae6f7851bd65548c8bf9485a 100644 (file)
@@ -1,8 +1,32 @@
-from xonstat.views.submission import stats_submit
+from xonstat.views.submission import submit_stats
 from xonstat.views.player import player_index, player_info, player_game_index
-from xonstat.views.player import player_accuracy_json, player_damage_json
-from xonstat.views.game import game_index, game_info, rank_index
-from xonstat.views.map import map_info, map_index, map_index_json
+from xonstat.views.player import player_accuracy
+from xonstat.views.player import player_index_json, player_info_json
+from xonstat.views.player import player_game_index_json, player_accuracy_json
+from xonstat.views.player import player_damage_json
+from xonstat.views.player import player_elo_info_text, player_elo_info_json
+from xonstat.views.player import player_hashkey_info_text, player_hashkey_info_json
+from xonstat.views.player import player_captimes, player_captimes_json
+from xonstat.views.player import player_weaponstats_data_json
+
+from xonstat.views.game   import game_info, rank_index
+from xonstat.views.game   import game_info_json, rank_index_json
+from xonstat.views.game   import game_finder
+
+from xonstat.views.map    import map_info, map_index
+from xonstat.views.map    import map_info_json, map_index_json
+from xonstat.views.map    import map_captimes, map_captimes_json
+
 from xonstat.views.server import server_info, server_game_index, server_index
+from xonstat.views.server import server_info_json, server_game_index_json
+from xonstat.views.server import server_index_json
+
 from xonstat.views.search import search_q, search
-from xonstat.views.main import main_index
+from xonstat.views.search import search_json
+
+from xonstat.views.exceptions   import notfound
+
+from xonstat.views.main   import main_index, top_players_by_time, top_servers_by_players
+from xonstat.views.main   import top_servers_by_players, top_maps_by_times_played
+
+from xonstat.views.admin   import forbidden