16 lines
380 B
Python
16 lines
380 B
Python
import datetime
|
|
|
|
from django.shortcuts import render
|
|
|
|
# Create your views here.
|
|
from dashboard.models import Weixin, Weixin_data
|
|
|
|
|
|
def index_data_count_chart(request):
|
|
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))
|
|
|
|
|