Skip to content

For consuming projects

Paste one of these into the Django or Pulumi project that depends on pulumi-django-azure so agents know what this package does without inventing behavior.

## Azure deployment (pulumi-django-azure)

This project is deployed with [`pulumi-django-azure`](https://django-azu.re).
Treat the following as the deployment and runtime contract (do not invent Azure or CI behavior outside it):

- Full docs for LLMs: https://django-azu.re/llms-full.txt
- Index: https://django-azu.re/llms.txt
- Scope (what the package owns): https://django-azu.re/scope/

Pulumi imports (infra project):
`from pulumi_django_azure.django_deployment import DjangoDeployment, HostDefinition`

Django imports (app project):
`from pulumi_django_azure.settings import *` and optional `patch_django_settings_for_azure`.

Minimal: index only

Deployment contract for this app: https://django-azu.re/llms.txt

Cursor rule snippet (consumer repo)

---
description: Azure deploy contract via pulumi-django-azure
alwaysApply: true
---

# pulumi-django-azure

This app’s Azure infra, App Service build/startup, and Azure Django settings are provided by
`pulumi-django-azure`. Prefer https://django-azu.re/llms-full.txt over guessing.

- Pulumi: import from `pulumi_django_azure.django_deployment` only.
- Django: use `pulumi_django_azure.settings` / middleware / management commands as documented.
- Do not invent DNS, Entra DB principal creation, or CDN HTTPS enablement as automatic package steps.

Human docs

Site: https://django-azu.re
Source: GitLab
PyPI: pulumi-django-azure