Seems like it would be better to handle ports as integers. Python's string formatting will automatically handle the int-to-string conversion when you execute the `manage.py` command.