mirror of
https://github.com/OpenBankProject/API-Manager.git
synced 2026-02-06 16:46:57 +00:00
Added missing dependency and cleared unnecessary lines
This commit is contained in:
parent
83fe0bcc3d
commit
9877c0d3a5
@ -86,7 +86,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Calls per day (last 30 days):</td>
|
||||
<td>Calls per day:</td>
|
||||
<td><img src="data:image/png;base64, {{ per_day_chart }}" alt="somealt" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -601,8 +601,10 @@ class MetricsSummaryView(LoginRequiredMixin, TemplateView):
|
||||
for api in top_apis:
|
||||
api['Implemented_by_partial_function'] = api['Implemented_by_partial_function'] + '(' + api['implemented_in_version'] + ')'
|
||||
top_apis = top_apis[:10]
|
||||
# for api in top_apis:
|
||||
# #print("%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% TOP APIS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%")
|
||||
# print(str(top_apis.index(api) + 1) + "," + api['Implemented_by_partial_function'] + "," + str(api['count']))
|
||||
top_apis = reversed(top_apis)
|
||||
|
||||
return top_apis
|
||||
|
||||
def get_top_warehouse_calls(self, cleaned_data, from_date, to_date):
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
#Django==1.11.7
|
||||
Django==2.0.7
|
||||
oauthlib==2.0.0
|
||||
requests==2.11.1
|
||||
@ -7,4 +6,5 @@ PyJWT==1.5.3
|
||||
gunicorn==19.6.0
|
||||
matplotlib
|
||||
django-mathfilters
|
||||
django-bootstrap3
|
||||
django-bootstrap3
|
||||
django-bootstrap-datepicker-plus
|
||||
Loading…
Reference in New Issue
Block a user