diff --git a/rest_hooks/migrations/0002_swappable_hook_model.py b/rest_hooks/migrations/0002_swappable_hook_model.py index 00d418f..ae4cfe3 100644 --- a/rest_hooks/migrations/0002_swappable_hook_model.py +++ b/rest_hooks/migrations/0002_swappable_hook_model.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from django.db import migrations, models +from django.db import migrations class Migration(migrations.Migration): diff --git a/rest_hooks/models.py b/rest_hooks/models.py index 7f441c7..b09cc21 100644 --- a/rest_hooks/models.py +++ b/rest_hooks/models.py @@ -20,7 +20,7 @@ import json from rest_hooks.signals import hook_event, raw_hook_event, hook_sent_event -from rest_hooks.utils import distill_model_event, get_hook_model, get_module, find_and_fire_hook +from rest_hooks.utils import distill_model_event, get_module if getattr(settings, 'HOOK_CUSTOM_MODEL', None) is None: diff --git a/rest_hooks/south_migrations/0001_initial.py b/rest_hooks/south_migrations/0001_initial.py index cfcc7c9..25eaee1 100644 --- a/rest_hooks/south_migrations/0001_initial.py +++ b/rest_hooks/south_migrations/0001_initial.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration -from django.db import models class Migration(SchemaMigration):