Re: Abridged summary of django-users@googlegroups.com - 43 Messages in 19 Topics

2013-04-24 Thread Simon Pickles
-- 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, send email to django-users@googlegroups.com. V

Filter by today

2012-06-12 Thread Simon Pickles
Hi, if my model has a timestamp field, class Attempt(models.Model): timestamp = models.DateTimeField('Timestamp') How would I query to get entries from today? I tried: result = Attempt.objects.filter(timestamp = date.today()) but it always says DoesNotExist (I can see entry in ta