aifeilong 13b1ca2b9b Namespace API routes by app and flatten package layout.
Move Django apps out of apps/ and mount them under auth/, common/, content/, and cms/ so endpoint paths map directly to the owning app.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 08:42:37 +08:00

12 lines
336 B
Python

from django.contrib import admin
from .models import Member
@admin.register(Member)
class MemberAdmin(admin.ModelAdmin):
list_display = ("id", "name", "phone", "organize", "is_vip", "is_disabled", "user")
list_filter = ("is_vip", "is_disabled")
search_fields = ("name", "phone", "organize")
raw_id_fields = ("user",)