Template
Populate the client website template with catalog feature flags.
Extract always-on public/portal/UTM plus optional email_sms, directmail, blog, payments, social, and social_ai so new client sites can be bootstrapped from this seed. Refs #1 Refs #2 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from leads.models import Lead, LeadNote
|
||||
|
||||
|
||||
class LeadNoteInline(admin.TabularInline):
|
||||
model = LeadNote
|
||||
extra = 0
|
||||
|
||||
|
||||
@admin.register(Lead)
|
||||
class LeadAdmin(admin.ModelAdmin):
|
||||
list_display = ("contact", "status", "created_at")
|
||||
list_filter = ("status",)
|
||||
search_fields = ("contact__email", "contact__first_name", "contact__last_name")
|
||||
inlines = [LeadNoteInline]
|
||||
Reference in New Issue
Block a user