Posts by gorgh • 11 points
1 post
-
1
votes2
answers216
viewsA: Filter objects in DJANGO - published_date__lte
Maybe it’s the fact that you didn’t publish the posts you created in the shell. Then you can do the following: post = Post.objects.get(<campo_Model> = <valor_atribuido_na_criacao">)…