first commit

This commit is contained in:
javad committed 2026-06-15 10:57:28 +03:30
commit 3e4574dcdd
163 files changed
+3559

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
from django.contrib import admin
from .models import UserProfile as UserProfileModel
# Register your models here.
@admin.register(UserProfileModel)
class UserProfileAdmin(admin.ModelAdmin):
list_display = ['cuser', 'city',]
search_fields = ['cuser__name_family', 'city__name',]
list_filter = ['city__is_ostan']