Move to Django 1.7 migrations from south
Fix IP provisioning function