Re: Custom QuerySet and __date field lookup

2015-11-05 Thread aprzywecki
You were right. Wrong virtualenv...*facepalm* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, s

Re: Custom QuerySet and __date field lookup

2015-11-05 Thread Simon Charette
Hi Adam, I couldn't reproduce your issue with Django 1.9.b1 with the following model definition: from __future__ import unicode_literals import datetime from django.db import models class EntryQuerySet(models.QuerySet): def today(self): today = datetime.date.today() retur