hh
This commit is contained in:
1 parent
df5d962413
commit
fe115ae140
1132 files changed
+1671
-73
No files matched your search
@@ -0,0 +1,11 @@
|
||||
from django.contrib import admin
|
||||
from .models import *
|
||||
# Register your models here.
|
||||
|
||||
class UserAdmin(admin.ModelAdmin):
|
||||
list_display=('username','fio', 'created_at', 'updated_at', 'is_active', 'is_staff')
|
||||
search_fields = ('username',)
|
||||
|
||||
|
||||
|
||||
admin.site.register(User, UserAdmin)
|
||||
Reference in new issue
Block a user