1. Luke Plant
  2. lukeplant_python

Commits

Luke Plant  committed 73c7d92

Fixed up package/modules in tagging app

  • Participants
  • Parent commits 93a6684
  • Branches default

Comments (0)

Files changed (4)

File django/tagging/fields.py

View file
  • Ignore whitespace
-import cciw.tagging.models
-from cciw.tagging import utils
+import lukeplant_me_uk.django.tagging.models
+from lukeplant_me_uk.django.tagging import utils
 
 Any = object()
 
         raise Exception("At least one of creator_model and target_model must be set")
     if creator_model is not Any and creator_attrname is not None:
         setattr(creator_model, creator_attrname, 
-            RelatedGenericManyToManyDescriptor(m2m_model=cciw.tagging.models.Tag,
+            RelatedGenericManyToManyDescriptor(m2m_model=lukeplant_me_uk.django.tagging.models.Tag,
                 from_model=creator_model, from_attrname='creator',
                 to_model=target_model, to_attrname='target'))
 
     if target_model is not Any and target_attrname is not None:
         setattr(target_model, target_attrname, 
-            RelatedGenericManyToManyDescriptor(m2m_model=cciw.tagging.models.Tag,
+            RelatedGenericManyToManyDescriptor(m2m_model=lukeplant_me_uk.django.tagging.models.Tag,
                 from_model=target_model, from_attrname='target',
                 to_model=creator_model, to_attrname='creator'))
 

File django/tagging/models.py

View file
  • Ignore whitespace
 """Model and related functionality for the tagging app."""
 from django.contrib.contenttypes.models import ContentType
 from django.db import models
-from cciw.tagging import utils
 from django.db import backend, connection
 from django.conf import settings
 import django.contrib.contenttypes
+from lukeplant_me_uk.django.tagging import utils
 
 try:
     _normaliser = settings.TAGGING_NORMALISER

File django/tagging/templatetags/tagging.py

View file
  • Ignore whitespace
 from django import template
-from cciw.tagging import utils
-from cciw.tagging.models import Tag
+from lukeplant_me_uk.django.tagging import utils
+from lukeplant_me_uk.django.tagging.models import Tag
 
 register = template.Library()
 

File django/tagging/views.py

View file
  • Ignore whitespace
 from django.template import RequestContext
-from cciw.tagging.models import Tag
 from django.http import Http404, HttpResponseRedirect
 from django.shortcuts import render_to_response
-from cciw.tagging.models import utils as tagging_utils
 from django.views.generic import list_detail
+from lukeplant_me_uk.django.tagging import utils as tagging_utils
+from lukeplant_me_uk.django.tagging.models import Tag
 
 POPULAR_TAGS_LIMIT = 20