Answer the question
In order to leave comments, you need to log in
How to output three random entries from a model in Django?
Guys, hello everyone.
I am currently making a simple side bar on a site with similar posts.
The task is this.
There is a model for articles. Three random records need to be derived from this model. We do not know the number of records and their id. How it is better to implement it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question