Added services missing migrations
This commit is contained in:
parent
e8b0b639ee
commit
b89440a8f3
|
@ -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 = '<a href="%(url)s"><img src="%(img)s"></img></a>' % {
|
||||
'url': reverse('admin:admin_logentry_change', args=(log.pk,)),
|
||||
|
|
|
@ -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),
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue