diff --git a/versions/admin.py b/versions/admin.py
index <HASH>..<HASH> 100644
--- a/versions/admin.py
+++ b/versions/admin.py
@@ -12,6 +12,7 @@ from django.contrib.admin.options import get_content_type_for_model
 from django.utils.encoding import force_text
 from django.utils.text import capfirst
 from django.template.response import TemplateResponse
+from django import VERSION
 
 
 class DateTimeFilterForm(forms.Form):
@@ -222,7 +223,10 @@ class VersionedAdmin(admin.ModelAdmin):
             content_type=get_content_type_for_model(model)
         ).select_related().order_by('action_time')
 
-        context = dict(self.admin_site.each_context(request),
+        ctx = self.admin_site.each_context() if VERSION < (1, 8) \
+            else self.admin_site.each_context(request)
+
+        context = dict(ctx,
                        title=('Change history: %s') % force_text(obj),
                        action_list=action_list,
                        module_name=capfirst(force_text(opts.verbose_name_plural)),
fix django <I> compatibility for history view