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)