Add Django site, Docker packaging, and beta/prod Gitea deploys.
Deploy Beta / unit-tests (push) Successful in 9s
Deploy Beta / docker (push) Successful in 17s
Deploy Beta / deploy-beta (push) Successful in 2m31s

Unignore site/ (was blocked by mkdocs /site rule), add compose/Docker/uv tooling, and split deploys so push to main goes to beta while prod stays manual.
This commit is contained in:
2026-08-08 07:32:55 -05:00
parent 7dca98bbf6
commit 1f7d78de64
204 changed files with 21662 additions and 70 deletions
+33
View File
@@ -0,0 +1,33 @@
from django.contrib import admin
from contacts.models import ConsentRecord, Contact, Suppression
class ConsentInline(admin.TabularInline):
model = ConsentRecord
extra = 0
class SuppressionInline(admin.TabularInline):
model = Suppression
extra = 0
@admin.register(Contact)
class ContactAdmin(admin.ModelAdmin):
list_display = ("email", "first_name", "last_name", "phone", "source", "created_at")
search_fields = ("email", "first_name", "last_name", "phone")
list_filter = ("source",)
fields = (
"email",
"first_name",
"last_name",
"phone",
"postal_address",
"source",
"notes",
"created_at",
"updated_at",
)
readonly_fields = ("created_at", "updated_at")
inlines = [ConsentInline, SuppressionInline]