Django views.py Exception Value: Could not parse the remainder:
Django views.py Exception Value: Could not parse the remainder: Question: I get an Exception Value error: Could not parse the remainder: ‘(column)’ from ‘item.get(column)’ views.py: def home(request): position = DjangoEmail.objects.get(Email=request.user).Position year_filter = Q(Year=now.year) | Q(Year=now.year-1) | Q(Year=now.year+1) if position == 7: data = Employee.objects.filter(year_filter, Mlkk=request.user).order_by(‘Year’,’OblastTM’).values(‘Year’, ‘OblastTM’, ‘Category’, ‘ProductGroup’,’NameChaine’).annotate(Januaru=Sum(‘January’)) elif position == 6: data = Employee.objects.filter(year_filter, …