From b89440a8f323486317147d8b600d441387c36473 Mon Sep 17 00:00:00 2001 From: Marc Aymerich Date: Thu, 28 Apr 2016 10:34:54 +0000 Subject: [PATCH] Added services missing migrations --- orchestra/contrib/history/admin.py | 5 +---- orchestra/plugins/admin.py | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/orchestra/contrib/history/admin.py b/orchestra/contrib/history/admin.py index efb3b8a0..e095da39 100644 --- a/orchestra/contrib/history/admin.py +++ b/orchestra/contrib/history/admin.py @@ -28,14 +28,11 @@ class LogEntryAdmin(admin.ModelAdmin): ) actions = None list_select_related = ('user', 'content_type') + list_display_links = None user_link = admin_link('user') display_action_time = admin_date('action_time', short_description=_("Time")) - def __init__(self, *args, **kwargs): - super(LogEntryAdmin, self).__init__(*args, **kwargs) - self.list_display_links = (None, ) - def display_message(self, log): edit = '' % { 'url': reverse('admin:admin_logentry_change', args=(log.pk,)), diff --git a/orchestra/plugins/admin.py b/orchestra/plugins/admin.py index 9f6422f6..905776da 100644 --- a/orchestra/plugins/admin.py +++ b/orchestra/plugins/admin.py @@ -46,7 +46,7 @@ class SelectPluginAdminMixin(object): opts = self.model._meta info = opts.app_label, opts.model_name select_urls = [ - url("/select-plugin/$", + url("select-plugin/$", wrap_admin_view(self, self.select_plugin_view), name='%s_%s_select_plugin' % info), ]