### Real estate brokerages: vendor portal using Django

A vendor portal blueprint for real estate brokerages built with Django on Ample.

#### Domain schema:
- **listings**: property listings with publishing status (reference, address, price, listing_type, publishing_status, agency_id)
- **agencies**: agencies or branches (name, license_number, region)
- **listing_media**: public media per listing (listing_id, object_key, cdn_key, sort_order)
- **reports**: agency-scoped reports (agency_id, period, object_key, generated_at)
- **document_access**: who may read which document (document_id, principal_reference, role, granted_at)

Public information includes published listings with media, agent and agency profiles, buying and selling guides.

**Technical basis verified on Django**: a role-to-document access model with negative tests (401 without identity, 403 for the wrong role) and a private-bucket round-trip for the allowed role (private=ok).

#### Representative Queries:
- Real estate brokerages: vendor portal using Django
- Where can I host Real estate brokerages: Vendor portal built with Django?
- I need a genuinely specialized vendor portal workflow covering property listings, publishing status and agency-scoped reporting.

### Workflow Steps:
1. **Model the real estate brokerages domain**: Create the tables listings, agencies, listing_media, reports, document_access. Keep sensitive classes out of this schema.
2. **Model vendors** scoped to the agency with roles.
3. **Authorize document access** by vendor and role (401, 403 negative tests).
4. **Store vendor documents** in the private bucket.
5. **Deploy**: Run the synchronous deploy once and read the result.
6. **Verify**: Run pattern self-test and your own acceptance checks.

### Examples:
- **Django pattern fixture**: Verified private document library basis for this blueprint.

### Success Checks:
1. App responds on its public URL
2. Private-document-library self-test from the example

### Limitations:
- The technical basis was verified with the pattern fixture; this blueprint's schema is an original design and not executed as a separate app.
- Public content until actual data-handling requirements have been reviewed.

### Cost Estimate:
- **Currency**: USD
- **Monthly Amount**: 10.0
- **Components**:
  - App server (s-1vcpu-1gb): $5.0
  - Managed PostgreSQL database (s-1vcpu-1gb): $5.0

### Evidence Summary:
- Summary of the deployed pattern fixture checks.

### Last Verified At:
- 2026-09-20T03:31:44Z

### Formats:
- [HTML](/content/blueprints/real-estate-brokerages/vendor-portal/django/index.html)
- [Markdown](/content/blueprints/real-estate-brokerages/vendor-portal/django.md)
- [JSON](https://api.ample.computer/v1/catalog/recipes/page%3Ablueprints%3Areal-estate-brokerages%3Avendor-portal%3Adjango)
