Skip to content

Add Django middleware template#87

Open
WeJaWi wants to merge 1 commit into
aporthq:mainfrom
WeJaWi:bounty-django-middleware-14
Open

Add Django middleware template#87
WeJaWi wants to merge 1 commit into
aporthq:mainfrom
WeJaWi:bounty-django-middleware-14

Conversation

@WeJaWi
Copy link
Copy Markdown

@WeJaWi WeJaWi commented May 11, 2026

Summary

  • add a new templates/django-middleware package for APort verification in Django apps
  • include settings-driven path protection plus a @require_policy view decorator
  • add a mockable client adapter, minimal example project, README docs, and pytest-django coverage
  • list the Django template in the root README

Closes #14

Verification

  • python3 -m venv /tmp/aport-django-venv
  • . /tmp/aport-django-venv/bin/activate
  • python -m pip install --upgrade pip setuptools wheel
  • python -m pip install -e ".[dev]"
  • pytest -q

Result: 10 passed, 1 warning

Bounty

This PR is for the $50 USD bounty in #14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Hacktoberfest] Django Middleware Package

1 participant