from datetime import datetime
min_date = datetime(2013, 12, 31)
result = Table.objects.filter(in_time__gte=min_date).exclude(in_time__eq=F(
    'actual_time'))
Django - query for to give rows where one column Not equals to another column in same model