Skip to content

Commit

Permalink
Merge branch 'master' into drop-django-1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
walterrenner committed Apr 4, 2018
2 parents 066eea1 + 610bf0e commit f1fe741
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion hijack_admin/admin.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# -*- coding: utf-8 -*-
from compat import get_user_model
from django import VERSION
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from django.template.loader import get_template
from django.utils.translation import ugettext_lazy as _

from hijack import settings as hijack_settings

from hijack_admin import settings as hijack_admin_settings

try:
Expand Down Expand Up @@ -34,7 +36,6 @@ def hijack_field(self, obj):

return button_template.render(button_context)

hijack_field.allow_tags = True
hijack_field.short_description = _('Hijack user')


Expand Down
2 changes: 0 additions & 2 deletions hijack_admin/tests/test_hijack_admin.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-

from hijack.tests.test_hijack import BaseHijackTests
from hijack.tests.utils import SettingsOverride

from hijack_admin import settings as hijack_admin_settings
from hijack_admin.tests.test_app.models import RelatedModel
Expand Down

0 comments on commit f1fe741

Please sign in to comment.