Commit facca6db by Alex Gaynor

Remove a bunch of dead imports

parent 1ae2d963
...@@ -9,7 +9,7 @@ from taggit.models import Tag ...@@ -9,7 +9,7 @@ from taggit.models import Tag
class SuggestCase(TestCase): class SuggestCase(TestCase):
def test_simple_suggest(self): def test_simple_suggest(self):
ku_tag = Tag.objects.create(name='ku') ku_tag = Tag.objects.create(name='ku')
ku_keyword1 = TagKeyword.objects.create( TagKeyword.objects.create(
tag=ku_tag, tag=ku_tag,
keyword='kansas university' keyword='kansas university'
) )
...@@ -31,7 +31,7 @@ class SuggestCase(TestCase): ...@@ -31,7 +31,7 @@ class SuggestCase(TestCase):
def test_bad_regex(self): def test_bad_regex(self):
ku_tag = Tag.objects.create(name='ku') ku_tag = Tag.objects.create(name='ku')
ku_keyword1 = TagKeyword.objects.create( TagKeyword.objects.create(
tag=ku_tag, tag=ku_tag,
keyword='kansas university' keyword='kansas university'
) )
......
import re import re
from django.conf import settings
from taggit.contrib.suggest.models import TagKeyword, TagRegex from taggit.contrib.suggest.models import TagKeyword, TagRegex
from taggit.models import Tag from taggit.models import Tag
......
import django from django.contrib.contenttypes.generic import GenericRelation
from django.contrib.contenttypes.generic import GenericForeignKey, GenericRelation
from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes.models import ContentType
from django.db import models from django.db import models
from django.db.models.fields.related import ManyToManyRel from django.db.models.fields.related import ManyToManyRel
from django.db.models.related import RelatedObject from django.db.models.related import RelatedObject
from django.db.models.query_utils import QueryWrapper
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
from taggit.forms import TagField from taggit.forms import TagField
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment