The first steps or whatever

balls
This commit is contained in:
some weird guy
2023-02-08 18:33:16 -08:00
parent ce4cb37a41
commit ecd8d3b1b7
214 changed files with 22899 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
from django.contrib import admin
from .models import UsersBan
# Register your models here.
class UsersBanModel(admin.ModelAdmin):
list_display = ['user', 'ban', ]
list_filter = ('ban', )
search_fields = ('user__username', 'user__id', 'user__first_name', 'user__last_name')
'''
admin.site.register(UsersBan, UsersBanModel)
'''