Deletes and re-creates your DB. Needs django-extensions and South.

def rebuild():
    """
    Deletes and re-creates your DB. Needs django-extensions and South.

    """
    drop_db()
    create_db()
    if StrictVersion(django.get_version()) < StrictVersion('1.7'):
        local('python{} manage.py syncdb --all --noinput'.format(
            PYTHON_VERSION))
        local('python{} manage.py migrate --fake'.format(PYTHON_VERSION))
    else:
        local('python{} manage.py migrate'.format(PYTHON_VERSION))