numeric index for format

django_app   _do_login   function needs to use numeric index when formatting string
Merge pull request #347 from jprobst21/master

numeric index for format