1. Alexey Boriskin
  2. django-versioning

Commits

Ivan Zakrevsky  committed 417a960

models.Manager

  • Participants
  • Parent commits e348d35
  • Branches master

Comments (0)

Files changed (1)

File versioning/managers.py

View file
-from django.contrib.contenttypes.models import ContentType, ContentTypeManager
+from django.db import models
+from django.contrib.contenttypes.models import ContentType
 
 
-class RevisionManager(ContentTypeManager):
+class RevisionManager(models.Manager):
     """Revision manager"""
 
     def get_for_object(self, obj):