File tree Expand file tree Collapse file tree 5 files changed +172
-55
lines changed Expand file tree Collapse file tree 5 files changed +172
-55
lines changed Original file line number Diff line number Diff line change @@ -82,9 +82,9 @@ <h4 class="mt-3">{% trans 'Debug Mode' %} <span
82
82
{% else %}
83
83
{% trans 'Everything is fine!' %}
84
84
{% endif %}
85
-
85
+
86
86
< h4 class ="mt-3 "> {% trans 'Allowed Hosts' %} < span
87
- class ="badge badge-{% if '*' in allowed_hosts %}warning{% else %}success{% endif %} "> {% if '*' in allowed_hosts %}
87
+ class ="badge badge-{% if '*' in allowed_hosts %}warning{% else %}success{% endif %} "> {% if '*' in allowed_hosts %}
88
88
{% trans 'Warning' %}{% else %}{% trans 'Ok' %}{% endif %}</ span > </ h4 >
89
89
{% if debug %}
90
90
{% blocktrans %}
@@ -176,6 +176,33 @@ <h4 class="mt-3">{% trans 'Migrations' %}
176
176
{#{% endfor %}#}
177
177
{# </ textarea > #}
178
178
179
+ < h4 class ="mt-3 "> API Stats</ h4 >
180
+ < h6 > User Stats</ h6 >
181
+ < table class ="table table-bordered table-striped ">
182
+ {% for r in api_user_stats %}
183
+ < tr >
184
+ {% for c in r %}
185
+ < td >
186
+ {{ c }}
187
+ </ td >
188
+ {% endfor %}
189
+ </ tr >
190
+ {% endfor %}
191
+ </ table >
192
+
193
+ < h6 > Endpoint Stats</ h6 >
194
+ < table class ="table table-bordered table-striped ">
195
+ {% for r in api_stats %}
196
+ < tr >
197
+ {% for c in r %}
198
+ < td >
199
+ {{ c }}
200
+ </ td >
201
+ {% endfor %}
202
+ </ tr >
203
+ {% endfor %}
204
+ </ table >
205
+
179
206
< h4 class ="mt-3 "> Debug</ h4 >
180
207
< textarea class ="form-control " rows ="20 ">
181
208
Gunicorn Media: {{ gunicorn_media }}
You can’t perform that action at this time.
0 commit comments