Populate a DataBase from an API in Django
I did find a way to populate my DataBase from Django itself. I added a custom populate_db command in managment/command that runs a scritp that populate my DataBase from an external API.
Then I just have to run  python3 manage.py populate_db
I am building a Django project with a postgresql in it. This databasa has to be populated from an API. This database doesn't have to be updated.
As I understood, the tables inside my database have to be created in my Django models. But where should I populate it? 
In a script outside Django or inside my app views?