Django: Run a script right after runserver
问题 Context: I have a table on the database that uses values from an external database. This external database updates its values periodically. Problem: In order to update my database everytime i start the server, I want to run a script right after the runserver. Potential Solution: I have seen that it is possible to run a script from a certain app, which is something I'm interested in. This is achievable by using the django-extensions : https://django-extensions.readthedocs.io/en/latest