mirror of
https://github.com/etnguyen03/tjdests.git
synced 2025-04-19 01:20:16 -04:00
11 lines
195 B
Python
11 lines
195 B
Python
from django.contrib import admin
|
|
|
|
from .models import User
|
|
|
|
|
|
class UserAdmin(admin.ModelAdmin):
|
|
search_fields = ["username", "first_name", "last_name"]
|
|
|
|
|
|
admin.site.register(User, UserAdmin)
|