Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Move some imports around in managers.py

git-svn-id: http://django-comment-utils.googlecode.com/svn/trunk@27 71c79c79-8932-0410-8db2-b50025d4c983
  • Loading branch information...
commit 97c64eacd26ef9da4bb0f8d81ba4bdee06853c77 1 parent 4d5c2bc
ubernostrum authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 comment_utils/managers.py
View
9 comment_utils/managers.py
@@ -4,7 +4,11 @@
"""
-from django.db import models
+
+from django.db import backend, connection, models
+from django.contrib.comments import models as comment_models
+from django.contrib.contenttypes.models import ContentType
+
class CommentedObjectManager(models.Manager):
"""
@@ -29,9 +33,6 @@ def most_commented(self, num=5, free=True):
(``FreeComment``).
"""
- from django.db import backend, connection
- from django.contrib.comments import models as comment_models
- from django.contrib.contenttypes.models import ContentType
if free:
comment_opts = comment_models.FreeComment._meta
else:
Please sign in to comment.
Something went wrong with that request. Please try again.