how to check model run file to other in django code example Example: python django shell command $ python manage.py shell ... >>> execfile('myscript.py')