Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
development:python:django:models [2021/06/29 15:17] kalenpw old revision restored (2021/01/12 11:31) |
development:python:django:models [2021/06/29 15:18] (current) kalenpw |
||
---|---|---|---|
Line 26: | Line 26: | ||
posts = Post.objects.filter(pub_date__year=2020) # can also use month, day | posts = Post.objects.filter(pub_date__year=2020) # can also use month, day | ||
</ | </ | ||
+ | |||
+ | ---- |