Answer the question
In order to leave comments, you need to log in
Where in Django to call the function to write to the database?
Good afternoon. I am new to Django. There is a function that writes information to the database at a certain point in time. Where should it be called? I can’t in views.py, because I don’t pass data to the template. Even if I call in views. py file, the local server will not start until the function is fully executed, which is a very long time.
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