Files
octopus/myproject/tenants
Andrey Smakotin 4da6d6922e fix: trigger tenant activation when status changed to approved
Added save_model override to TenantRegistrationAdmin to catch status
changes from PENDING to APPROVED and trigger the full activation flow.

Previously, changing status via admin form only saved the status field
without creating the tenant, sending emails, etc.

Now both methods work:
- Click "Activate" button (via GET parameter)
- Change status dropdown and save (via save_model)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 22:15:43 +03:00
..