<gh_stars>1-10
from django.contrib import admin
from DataStorage.models import Data
# Register your models here.


class AdminData(admin.ModelAdmin):

    list_display = ['key', 'format_value', 'createtime', 'updatetime']


admin.site.site_title = '数据存储'
admin.site.site_header = '数据存储'
admin.site.register(Data, AdminData)

from django.contrib import admin
from DataStorage.models import Data
# Register your models here.


class AdminData(admin.ModelAdmin):

    list_display = ['key', 'format_value', 'createtime', 'updatetime']


admin.site.site_title = '数据存储'
admin.site.site_header = '数据存储'
admin.site.register(Data, AdminData)
# Register your models here.