Hi kbnk, monoBOT,
Thank you both, your answers on the spot, I have tried using the filter and
it's working, I may need to delete one of the records to get this sorted,
thanks again.
>>> Question.objects.filter(pub_date__year=current_year)
[, ]
Best regards,
Ahmed Abdullah
On Sunday, 29 Novemb
Hi,
I'm practicing Django v 1.8.6 (Writing your first Django app, part 1) and
getting error when trying to import timezone, also I have installed pytz,
when I try to use the import timezone package I'm getting ImportError.
My settings.py has USE_TZ set to true by default, also, I had to change
2 matches
Mail list logo