request in the django model

is it possible to make requests in the django model?

What precisely do you mean by “make requests”?

A Django model is a Python class. If it’s something you can do in a Python class, yes, you can do it in a model.
Whether you should, or if it’s going to produce the results you expect or desire, is an entirely different question.

thank you so much for answering me and it gives me confidence.

now what is the difference between annotate and aggregate in django

thank you for your answer, it would be a star for me.

Start with Aggregation | Django documentation | Django. Pay particular attention to the examples, and what the results are for the queries using aggregate vs annotate. (The Cheat Sheet section is particularly good for that.)

Very well thank you very much for your answer I am totally proud.