Spaces:
Runtime error
Runtime error
File size: 224 Bytes
0a08d4d |
1 2 3 4 5 6 7 8 9 |
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)
|