mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-01-10 18:06:18 +00:00
10 lines
356 B
Python
10 lines
356 B
Python
from django.contrib import admin
|
|
|
|
from .models import WireguardStatusCache
|
|
|
|
|
|
# Register your models here.
|
|
class WireguardStatusCacheAdmin(admin.ModelAdmin):
|
|
list_display = ('cache_type', 'processing_time_ms', 'created', 'updated')
|
|
readonly_fields = ('uuid', 'created', 'updated')
|
|
admin.site.register(WireguardStatusCache, WireguardStatusCacheAdmin) |