mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
15 lines
308 B
Python
15 lines
308 B
Python
![]() |
from django.http import JsonResponse
|
||
|
from django.views import View
|
||
|
|
||
|
from apps.statistics.models import MStatistics
|
||
|
|
||
|
class Errors(View):
|
||
|
|
||
|
def get(self, request):
|
||
|
statistics = MStatistics.all()
|
||
|
|
||
|
return JsonResponse({
|
||
|
'feed_success': statistics['feeds_fetched'],
|
||
|
})
|
||
|
|