first commit
This commit is contained in:
commit
3e4574dcdd
163 files changed
+3559
No files matched your search
@@ -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']
|
||||
Reference in new issue
Block a user