Answer the question
In order to leave comments, you need to log in
How to get data from DB in Django?
All tutorials say that the data in the database for processing can be obtained through the API. But here's the question. Where can I make requests? From a separate handler file, from models.py or from views.py?
That is, I need the data from the TextField (it is) to be written to the database when the user clicks the button, and then they are obtained from there and processed.
How to do 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