Some checks failed
Deploy Waitlist / Deploy to VPS (push) Failing after 2m26s
Adds Django waitlist app to serve the launch-gating endpoints: - GET /training/django-cohort/waitlist → HTML cohort waitlist page - POST /v1/waitlist/django-cohort → JSON signup with attribution Changes: - waitlist/ app: WaitlistSignup model, views, urls, admin, template - config/settings/waitlist.py: minimal prod settings for waitlist-only deploy - config/urls_waitlist.py: slimmed URL conf (waitlist + healthz + admin) - config/urls.py: registers waitlist routes on full project - config/settings/base.py: adds waitlist to INSTALLED_APPS - docker-compose.waitlist.yml: Traefik-labelled deploy for VPS - requirements/waitlist.txt: minimal dependency set for waitlist build - .gitea/workflows/deploy-waitlist.yml: CI deploy job using Docker socket - Dockerfile: parameterise DJANGO_SETTINGS_FOR_COLLECTSTATIC DNS action required after deploy (board): api.usepaperclip.app → 76.13.129.223 (VPS) usepaperclip.app → 76.13.129.223 (VPS) OR Vercel creds for Next.js fix Co-Authored-By: Paperclip <noreply@paperclip.ing>
12 lines
328 B
Python
12 lines
328 B
Python
from django.contrib import admin
|
|
|
|
from .models import WaitlistSignup
|
|
|
|
|
|
@admin.register(WaitlistSignup)
|
|
class WaitlistSignupAdmin(admin.ModelAdmin):
|
|
list_display = ("email", "name", "source", "created_at")
|
|
list_filter = ("source",)
|
|
search_fields = ("email", "name")
|
|
readonly_fields = ("created_at", "updated_at")
|