diff --git a/django_contact_importer/contacts/views.py b/django_contact_importer/contacts/views.py index 0cd2b49..4500403 100755 --- a/django_contact_importer/contacts/views.py +++ b/django_contact_importer/contacts/views.py @@ -3,9 +3,9 @@ from django.shortcuts import redirect, render_to_response from django.conf import settings from django.core.urlresolvers import reverse -from contact_importer.providers import (GoogleContactImporter, - YahooContactImporter, - LiveContactImporter) +from contact_importer.providers.google import GoogleContactImporter +from contact_importer.providers.yahoo import YahooContactImporter +from contact_importer.providers.live import LiveContactImporter providers = { "google": GoogleContactImporter, @@ -66,4 +66,4 @@ def _get_provider_instance(provider, redirect_url): raise Exception("The provider %s is not supported." % provider) provider_class = providers[provider] - return provider_class(client_id, client_secret, redirect_url) \ No newline at end of file + return provider_class(client_id, client_secret, redirect_url)