Ubuntu cbe06e9c8f feat: Phase 3 - Partners API (5 endpoints + 2 helpers)
- GET /api/v1/partners/stats/ - total, active, pendingKyc, highRisk counts
- GET /api/v1/partners/ - paginated list with status/kyc/type/search filters
- GET /api/v1/partners/:id/ - full detail with events, kycDocuments, dealTerms, ledger
- PATCH /api/v1/partners/:id/status/ - suspend/activate partner
- POST /api/v1/partners/:id/kyc/review/ - approve/reject KYC with reason

Helpers: _serialize_partner(), _partner_kyc_docs()
Status/KYC/type mapping: backend snake_case to frontend capitalised values
Risk score derived from kyc_compliance_status (high_risk=80, approved=5, etc.)
All views IsAuthenticated, models imported inside methods
2026-03-24 18:11:33 +00:00
2025-12-01 05:38:08 +05:30
2026-03-24 19:21:25 +05:30
2026-03-24 19:21:25 +05:30
2025-11-27 11:53:46 +05:30
2025-11-28 03:11:38 +05:30
2025-11-27 11:53:46 +05:30
2026-03-24 19:21:25 +05:30
2025-11-27 11:53:46 +05:30
2025-11-27 11:53:46 +05:30
2025-11-27 11:53:46 +05:30

Eventify - Django

This repository contains a production-oriented Django project skeleton for the Eventify application.

Features

  • Custom User model
  • EventType (categories), Event, EventImages models
  • CRUD for EventType, Event, and Users
  • Bootstrap-based templates and navigation
  • Settings prepared to use environment variables for production

Quick start (development)

  1. Create a virtualenv and activate it
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  1. Run migrations and create superuser
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

Production notes

  • Set DJANGO_SECRET_KEY, DJANGO_DEBUG, and DJANGO_ALLOWED_HOSTS environment variables
  • Collect static files with python manage.py collectstatic
  • Serve via uWSGI/gunicorn + nginx or any WSGI server
Description
No description provided
Readme 1.5 MiB
Languages
Python 92.1%
HTML 7.8%