Skip to content

Commit

Permalink
Loading VersionAdmin from reversion.admin
Browse files Browse the repository at this point in the history
  • Loading branch information
ordavidil committed Feb 27, 2016
1 parent adefe07 commit 534a4b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Django>=1.4,<1.8
Django>=1.4,<2.0
lxml
2 changes: 1 addition & 1 deletion terms/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from django.conf import settings
from django.contrib.admin import ModelAdmin
if 'reversion' in settings.INSTALLED_APPS:
from reversion import VersionAdmin as ModelAdmin
from reversion.admin import VersionAdmin as ModelAdmin


class TermAdmin(ModelAdmin):
Expand Down

0 comments on commit 534a4b6

Please sign in to comment.