changing port to int for django-nonrel 1.3.1 compatibiliaty