Rendering objects by category in Django

前端 未结 0 1600
滥情空心
滥情空心 2021-02-12 03:39

I created a model, in which admin categorizes posts by being new or exclusive. Now I want to view posts, that are only new. here\'s the code:

class Post(models.Mo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题