CloudStorage / home /admin.py
thejagstudio's picture
Upload 30 files
0a08d4d verified
raw
history blame
224 Bytes
from django.contrib import admin
from .models import Userdata
class UserdataAdmin(admin.ModelAdmin):
list_display = ['id','user_id']
search_fields = ['user_id']
admin.site.register(Userdata, UserdataAdmin)