30 lines
702 B
Python
30 lines
702 B
Python
from django.contrib import admin
|
|
|
|
from .models import (
|
|
DiskCheck,
|
|
DiskCheckEmail,
|
|
PingCheck,
|
|
PingCheckEmail,
|
|
CpuLoadCheck,
|
|
CpuLoadCheckEmail,
|
|
CpuHistory,
|
|
MemCheck,
|
|
MemCheckEmail,
|
|
MemoryHistory,
|
|
WinServiceCheck,
|
|
WinServiceCheckEmail
|
|
)
|
|
|
|
admin.site.register(DiskCheck)
|
|
admin.site.register(DiskCheckEmail)
|
|
admin.site.register(PingCheck)
|
|
admin.site.register(PingCheckEmail)
|
|
admin.site.register(CpuLoadCheck)
|
|
admin.site.register(CpuLoadCheckEmail)
|
|
admin.site.register(CpuHistory)
|
|
admin.site.register(MemCheck)
|
|
admin.site.register(MemoryHistory)
|
|
admin.site.register(MemCheckEmail)
|
|
admin.site.register(WinServiceCheck)
|
|
admin.site.register(WinServiceCheckEmail)
|