Skip to main content

django-mvp-community

Tests Build Publish codecov PyPI Development status Python Django License Ruff

Notifications, mail and activity pages for django-mvp projects, built on established Django packages

Scope & philosophy

django-mvp-community gives a django-mvp project the pages and components for keeping people in touch with the site and with each other: notifications and their preferences, push and reminders, email, and activity feeds. Each is built on an established Django package, and this package supplies what those packages leave to you: templates that match the rest of the application, menu entries, Account Center pages, settings, and the few lines of wiring that connect one package to another. Each feature is an optional extra, installed only when a project wants it.

What it deliberately is not:

  • A notification, mail or activity engine. It adds no logic or models of its own. The packages it builds on do the work.
  • Real-time. No websockets or server-sent events. Unread counts refresh by polling.
  • Native phone push. Web push to browsers and installed web apps only.
  • A mail service. Mail goes out through whichever provider django-anymail is configured for.
  • A forum.

When two designs conflict, the one with less code of our own wins. A template override beats a Python hook, and an existing package beats anything written here.

Installation

pip install django-mvp-community

Then add it to INSTALLED_APPS, above mvp:

INSTALLED_APPS = [
    # ...
    "mvp_community",
    "mvp",
]

It goes above mvp because some of its templates extend django-mvp's templates of the same name, such as the Account Center's landing page. Django uses the first one it finds, so listed below mvp they are never used.

This package requires django-mvp. It renders inside django-mvp's layout and reads its colours from the theme django-mvp supplies, so it does nothing useful on its own.

Extras

Each feature is an extra, installed by naming it:

pip install "django-mvp-community[notifications]"

The extras are notifications, push, mail, activity and sharecards. An extra brings the packages its feature is built on, and the base install depends on Django and django-mvp alone. Importing mvp_community never imports a package that belongs to an extra, so a project carries nothing for a feature it does not use.

Code that needs an extra's packages lives in that extra's integration module, mvp_community.integrations.<extra>, and nowhere else in the package. A project switches an extra on by installing it and importing from that module.

The notifications extra is built and documented in Notifications: a bell in the header, a notifications page, notification preferences in the Account Center, and, with the mail extra, notifications by email in real time or as a daily or weekly digest.

The push extra is built and documented in Push: a push channel for notifications, so a person who turns push on from their preferences page gets each notification in their browser as it happens, even when the site is closed.

The activity extra is built and documented in Activity: a feed view you mount where you like, a following page in the Account Center, and components for recent activity, a follow control and a followers list.

The mail extra is configured and documented in Mail: every email your project sends is queued and logged, then delivered through your provider, and stored templates extend django-mvp's email layout. It is settings and documentation only, so there is no integration module to import. The other extra is empty for now: installing it adds no packages, and there is no integration module to import.

Overriding a template

Any template this package ships can be replaced on its own, without forking the package. A template's name is its path below mvp_community/templates/, and Django uses the first template it finds with that name. Put a file with the same name in the project's own template directory, the one listed in TEMPLATES["DIRS"], and Django uses it instead of this package's. A template in an app listed above mvp_community in INSTALLED_APPS overrides it in the same way.

Components follow the same rule. A component's tag is its path below templates/cotton/, so this file in the project replaces the component <c-mvp_community.name> everywhere it is used:

templates/cotton/mvp_community/name.html

Template names are part of the public interface. Renaming one is a breaking change, made only after a release that warns about it, with the CHANGELOG naming what replaces it.

Quickstart

Public surface

Contributing

Standards for this repository live in CONSTITUTION.md, and the vocabulary to use in issues and commits lives in CONTEXT.md.

uv sync
uv run pytest
uv run pre-commit install

demo/ is a Django project on django-mvp's application shell, for looking at this package in a browser while working on it:

uv run python manage.py migrate
uv run python manage.py seed_demo
uv run python manage.py runserver

License

MIT. See LICENSE.

Metadata

Release files for django-mvp-community 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-mvp-community 0.1.0
File Size Uploaded Provenance Actions
django_mvp_community-0.1.0.tar.gz 35.7 kB With provenance Details for django_mvp_community-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-mvp-community 0.1.0
File Interpreter ABI Platform Actions
django_mvp_community-0.1.0-py3-none-any.whl Python 3 none any Details for django_mvp_community-0.1.0-py3-none-any.whl

Total release size: 92.4 kB

Release files / django_mvp_community-0.1.0.tar.gz

Download URL django_mvp_community-0.1.0.tar.gz
Size 35.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ebf8f7b25d46c3fd8aad611c3fa6cfde6836cf5c78ade90f42d977577d799c17
BLAKE2b-256 checksum
How to use checksums
d6be69ba39e84abcfe2b754713d102ae29a6224b485ef518aa404dc038d3a3de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / django_mvp_community-0.1.0-py3-none-any.whl

Download URL django_mvp_community-0.1.0-py3-none-any.whl
Size 56.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fef99f608c0df40026059f9d4c80796697cc1e3307db506befec587dedec8e94
BLAKE2b-256 checksum
How to use checksums
0b79f931c8ecc732f1d0a238be0e196cba8e5d5a59eba5ca71cbe5432ce9dbe8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for django-mvp-community 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for django_mvp_community-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page