Re: int() argument must be a string or a number, not 'datetime.date'

2014-05-23 Thread MikeKJ
*D'oh* needed to reference back to the date model as in qs = Booking.objects.filter(arrival_date__travel_date__exact=form.cleaned_data['arrival_date']) arrival_date is a int id reference!!! sorry and thanks to anyone who was looking at this -- You received this message because you are subsc

Re: int() argument must be a string or a number, not 'datetime.date'

2014-05-23 Thread MikeKJ
Ummm do I need to use Q? just dawned on me -- 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