Skip to content

Commit

Permalink
Merge branch 'master' of github.com:etianen/django-reversion
Browse files Browse the repository at this point in the history
  • Loading branch information
etianen committed Apr 13, 2015
2 parents de39c68 + a042d39 commit 738ade3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reversion/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from __future__ import unicode_literals

from django.contrib.contenttypes.models import ContentType
from django.contrib.contenttypes import generic
from django.contrib.contenttypes.fields import GenericForeignKey
from django.conf import settings
from django.core import serializers
from django.core.exceptions import ObjectDoesNotExist
Expand Down Expand Up @@ -134,7 +134,7 @@ class Version(models.Model):
help_text="Content type of the model under version control.")

# A link to the current instance, not the version stored in this Version!
object = generic.GenericForeignKey()
object = GenericForeignKey()

format = models.CharField(max_length=255,
help_text="The serialization format used by this model.")
Expand Down

0 comments on commit 738ade3

Please sign in to comment.