wg-backend-django/wg_api/admin.py

10 lines
263 B
Python
Raw Normal View History

2022-11-22 02:07:36 -05:00
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)