O
O
Ozrae2020-07-22 16:00:10
Django
Ozrae, 2020-07-22 16:00:10

How to implement a list of posts in django?

The question is very simple, but I don't know how to formulate it in a search engine, so I'll ask you. I need to make it so that for each user only those posts to which he is subscribed are shown, either by tags, like on this site, or by users, like in social networks. What is the name of this feature on the site? What should I write in Google to find the implementation of this function?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-07-22
@Ozrae

It's not called in any way, it's an elementary thing, but you need to know the basics of working with the database, and in django what is QuerySet and its methods, the main one is filter
PS Okay, let's call it filtering.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question