diff --git a/apps/customercare/admin.py b/apps/customercare/admin.py index 289587522..e1059d21c 100644 --- a/apps/customercare/admin.py +++ b/apps/customercare/admin.py @@ -1,6 +1,7 @@ from django.contrib import admin -from .models import Tweet, CannedCategory, CannedResponse, CategoryMembership +from customercare.models import (Tweet, CannedCategory, CannedResponse, + CategoryMembership) class TweetAdmin(admin.ModelAdmin): diff --git a/apps/forums/feeds.py b/apps/forums/feeds.py index 7419fad83..258309fed 100644 --- a/apps/forums/feeds.py +++ b/apps/forums/feeds.py @@ -6,7 +6,7 @@ from django.utils.feedgenerator import Atom1Feed from tower import ugettext as _ -from .models import Forum, Thread +from forums.models import Forum, Thread import forums as constants diff --git a/apps/forums/forms.py b/apps/forums/forms.py index e01210bb0..432a984d7 100644 --- a/apps/forums/forms.py +++ b/apps/forums/forms.py @@ -3,7 +3,7 @@ from django import forms from tower import ugettext_lazy as _lazy from sumo.form_fields import StrippedCharField -from .models import Thread, Post +from forums.models import Thread, Post MSG_TITLE_REQUIRED = _lazy(u'Please provide a title.') diff --git a/apps/forums/permissions.py b/apps/forums/permissions.py index f37c4ef95..2a7626a40 100644 --- a/apps/forums/permissions.py +++ b/apps/forums/permissions.py @@ -1,4 +1,4 @@ -from .models import Forum +from forums.models import Forum import authority diff --git a/apps/forums/urls.py b/apps/forums/urls.py index c24ac4965..b6cbf4df8 100644 --- a/apps/forums/urls.py +++ b/apps/forums/urls.py @@ -1,5 +1,5 @@ from django.conf.urls.defaults import patterns, url -from .feeds import ThreadsFeed, PostsFeed +from forums.feeds import ThreadsFeed, PostsFeed urlpatterns = patterns('forums.views', url(r'^$', 'forums', name='forums.forums'), diff --git a/apps/questions/forms.py b/apps/questions/forms.py index a7ecec3bc..cd92df3ef 100644 --- a/apps/questions/forms.py +++ b/apps/questions/forms.py @@ -3,7 +3,7 @@ from django import forms from tower import ugettext_lazy as _lazy, ugettext as _ from sumo.form_fields import StrippedCharField -from .models import Answer +from questions.models import Answer # labels and help text SITE_AFFECTED_LABEL = _lazy(u'URL of affected site') diff --git a/apps/questions/urls.py b/apps/questions/urls.py index 5f3566120..60439c627 100644 --- a/apps/questions/urls.py +++ b/apps/questions/urls.py @@ -1,8 +1,8 @@ from django.conf.urls.defaults import patterns, url from django.contrib.contenttypes.models import ContentType -from .feeds import QuestionsFeed, AnswersFeed, TaggedQuestionsFeed -from .models import Question, Answer +from questions.feeds import QuestionsFeed, AnswersFeed, TaggedQuestionsFeed +from questions.models import Question, Answer from flagit import views as flagit_views diff --git a/apps/search/tests/test_json.py b/apps/search/tests/test_json.py index eb33a5b5f..22c7b1224 100644 --- a/apps/search/tests/test_json.py +++ b/apps/search/tests/test_json.py @@ -3,7 +3,7 @@ from nose.tools import eq_ from sumo.urlresolvers import reverse from sumo.tests import LocalizingClient -from .test_search import SphinxTestCase +from search.tests.test_search import SphinxTestCase class JSONTest(SphinxTestCase):