I have a basic project called airline with one app called flights. I create one model called Flight.
in a file called test.py I have:
from flights.models import Flight
f= Flight(origin=“New York”,destination=“London”, duration = 415)
where do I place this file in order to run and update the database table? makemigrations and migrate were run successfully. Is there anything else that needs to be done to make the code run?