page:blueprints:real estate brokerages:public directory:django

Real estate brokerages: public directory using Django

Summary

A public directory blueprint for real estate brokerages built with Django on Ample. Domain schema:

Public information includes:

Out of scope until handling is reviewed:

Only listings with publishing_status = published appear publicly; offers and identities are out of scope.

Technical Basis

Technical basis verified on Django: a workspace-scoped table, an explicit state machine (draft to review to published) that rejects invalid transitions, and cross-workspace reads that return nothing (transitions=true isolation=true).

Representative Queries

  1. Real estate brokerages: public directory using Django
  2. Where can I host Real estate brokerages: Public directory built with Django?
  3. I need a genuinely specialized public directory workflow covering property listings, publishing status and agency-scoped reporting.

Resource Requirements

Infrastructure Requirements

Framework and Workload

Release Status

Prerequisites

  1. A Django project (pip install into .ample/python from requirements.txt, then waitress serving project.wsgi from run.py reading PORT on the python-3.12 template)
  2. A PostgreSQL driver reading DATABASE_URL (auto-provisioned when omitted)
  3. Bucket credentials from ample bucket create passed as encrypted S3_* environment variables and a published bucket for public assets (CDN_*)
  4. Review which real estate brokerages data classes may be handled at all

Workflow Steps

  1. Model the real estate brokerages domain: Create the tables listings, agencies, listing_media, reports, state_transitions.
  2. Model listings with a publishing_status state machine scoped to the agency.
  3. Serve only published listings, with media from the CDN bucket.
  4. Enforce the agency scope on every query.
  5. Deploy and verify a published listing and that unpublished listings are absent.
  6. Deploy: Run synchronous deploy once; running it again with no change is a no-op.
  7. Verify: Run the pattern self-test(s) and your own acceptance checks.

Cost Estimate

Limitations

Evidence Summary

Canary run summary: Django pattern fixture deployed on Ample; the relational records checks passed. The blueprint's Real estate brokerages schema builds on the verified basis but was not separately executed.

Next Actions

  1. Browse the catalog index
  2. Search published recipes by intent, stack and constraints
  3. Prepare a side-effect-free deployment plan for an authorized project
  4. Read the existing agent authentication setup
  5. Browse Real estate brokerages
  6. Browse Public directory
  7. Browse Django
  8. Browse Deploy web app