Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add import of timezone to ORM lesson for date filters #225

Closed
willingc opened this issue Dec 27, 2014 · 1 comment
Closed

Add import of timezone to ORM lesson for date filters #225

willingc opened this issue Dec 27, 2014 · 1 comment

Comments

@willingc
Copy link
Contributor

As the tutorial is currently written, I needed to add from django.utils import timezone for the filter for published date to work properly Post.objects.filter(published_date__isnull=False).

@aniav
Copy link
Member

aniav commented Feb 12, 2015

A fix for this is introduced in a pull request for #249. I am closing this issue right now. Thank you for your feedback! :)

@aniav aniav closed this as completed Feb 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants