[Answer]-How do i create record with this model

1👍

Navigate to the directory to your application and run:

python manage.py shell

Then import model:

from your_app_name.models import ApplicationStage

Then use the following command to create a record:

a = ApplicationStage(stage_id=1, leave_id=1, auth_id .......... and so on)
a.save()

Leave a comment