Django_數據統計功能count()

1、view實現計數 在apiviews.py中加入如下內容css from ApiTest.models import ApiTest from django.shortcuts import render def api_test_manage(request): apitest_count = ApiTest.objects.all().count() return render(re
相關文章
相關標籤/搜索