Yes you can do that you set the autologin in raspi-config then create a shell script run.sh
like this
python /path/to/project.manage.py runserver 0.0.0.0:8000
or you can use gunicorn proxy
You can also start other servers in this file
then put sh run.sh in you .bashrc.
Better way
You can install tmux by apt-get install tmux You can make detached session using tmux in run.sh using a unique name and tmux so that each time you open the prompt it wont create duplicate sessions.