parent
ebe0d7e021
commit
220165d12b
@ -1,19 +0,0 @@
|
||||
from django.contrib import admin
|
||||
# Register your models here.
|
||||
|
||||
|
||||
class CommandsAdmin(admin.ModelAdmin):
|
||||
list_display = ('title', 'command', 'describe')
|
||||
|
||||
|
||||
class EmailSendLogAdmin(admin.ModelAdmin):
|
||||
list_display = ('title', 'emailto', 'send_result', 'creation_time')
|
||||
readonly_fields = (
|
||||
'title',
|
||||
'emailto',
|
||||
'send_result',
|
||||
'creation_time',
|
||||
'content')
|
||||
|
||||
def has_add_permission(self, request):
|
||||
return False
|
||||
Loading…
Reference in new issue