You can reset the sequence of model identifiers with the command sqlsequencereset
python manage.py sqlsequencereset myapp1 myapp2 myapp3| psql
If you want to read the generated sql command, just run this command without passing it to psql.
python manage.py sqlsequencereset myapp1 myapp2 myapp3
. , @knbk, , reset id.