2020-09-17 08:10:13 +00:00
|
|
|
import datetime
|
|
|
|
|
|
|
|
from django.shortcuts import render
|
|
|
|
|
|
|
|
# Create your views here.
|
2020-09-18 06:42:55 +00:00
|
|
|
from dashboard.models import Weixin, Weixin_data
|
|
|
|
|
2020-09-17 08:10:13 +00:00
|
|
|
|
|
|
|
def index_data_count_chart(request):
|
2020-09-18 06:42:55 +00:00
|
|
|
year = request.GET.get('year')
|
|
|
|
month_form = request.GET.get('month_form')
|
|
|
|
month_to = request.GET.get('month_to')
|
|
|
|
weixin = Weixin_data.objects.filter(year=year,date__range=(month_form,month_to))
|
|
|
|
|
2020-09-17 08:10:13 +00:00
|
|
|
|