Filtering QuerySets in Django work like the following:
Entry.objects.filter(year=2006)
How can I use filter to find all entries which does not have year 2006? Something similar to the following sql:
SELECT * FROM entries WHERE not year = 2006