wg-backend-django/wg_api/admin.py
2022-11-22 14:07:36 +07:00

10 lines
263 B
Python

from django.contrib import admin
from .models import user_model
# Register your models here.
class wgAdmin(admin.ModelAdmin):
list_display = ('wgName', 'wgMail', 'wgKey', 'wgDin', 'wgDout', 'wgStatus', 'wgTStamp')
admin.site.register(user_model, wgAdmin)