dj-materialized-views
Django admin app that allows you to manage materialized views from the admin panel
What it is and what it does
Django Materialized Views is a Django admin application that exposes PostgreSQL materialized views as manageable objects in the admin interface. It lets you create, update, delete, and index materialized views without writing raw SQL, and schedule periodic refreshes via Celery Beat.
The package integrates with Django's admin panel to provide a UI for materialized view operations. It depends on Celery and django-celery-beat to handle scheduled refresh tasks. However, the project has not been maintained since November 2022 and may not be compatible with recent Django or PostgreSQL versions.
Use it for:
- Manage PostgreSQL materialized views through Django admin instead of raw SQL queries
- Schedule automatic refresh of materialized views on a regular interval using Celery Beat
- Create and maintain indexes on materialized views via the admin interface
- Provide a UI for non-technical team members to refresh materialized views on demand
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Manages PostgreSQL materialized views through a Django admin interface, allowing creation, deletion, indexing, and scheduled refresh of materialized views.
No. The package is abandoned (last release November 2022) with no maintenance signal. While it has low install friction and permissive licensing, the lack of updates poses compatibility risks with current Django versions and PostgreSQL releases. For new projects, consider maintaining materialized views through migrations or a more actively maintained tool.
Install
dj-materialized-views on PyPI
pip
pip install dj-materialized-viewsuv
uv add dj-materialized-viewspoetry
poetry add dj-materialized-viewsInstalling dj-materialized-views
Before you install
Low install friction with a pure-Python wheel, but the package is abandoned as of 1361 days since last release. No recent maintenance or updates available.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it legally safe to adopt from a licensing perspective.
Quickstart
pip install dj-materialized-views
# In Django settings.py
INSTALLED_APPS = [
'django_celery_beat',
'dj_materialized_views',
]
# Then manage materialized views via Django admin panel
Requires PostgreSQL database backend; Django 2, 3, or 4; Celery and django-celery-beat must be installed and configured.
Verify before relying
- Whether the package remains compatible with current Django versions beyond 4.0
- Whether PostgreSQL-specific functionality works with recent PostgreSQL releases
- Whether celery and django-celery-beat dependency versions are pinned or have known conflicts
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — Django, celery, django-celery-beat |
| Maintenance | abandoned — 1,361 days since the last release |
| First released | |
| Downloads | 174,066/month — #10,291 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dj_materialized_views-0.4.1-py3-none-any.whl
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
django-pgviews-reduxAdds first-class PostgreSQL view support to…
unclear · top 15,000 on PyPI
django-admin-data-viewsAdds custom data views to the Django admin…
permissive · top 15,000 on PyPI
django-celery-beatStores Celery periodic task schedules in a…
permissive · top 5,000 on PyPI
django-viewflowViewflow is a low-code library for building…
agpl · top 15,000 on PyPI
django-apschedulerAdds persistent job scheduling to Django…
permissive · top 15,000 on PyPI
django-data-browserProvides an interactive web interface for…
permissive · top 15,000 on PyPI
django-maintenance-modeActivates a 503 maintenance page in Django…
permissive · top 15,000 on PyPI
django-adminplusAdds custom admin views to Django's admin…
permissive · top 5,000 on PyPI
django-service-objectsProvides a Service base class for Django that…
permissive · top 15,000 on PyPI
django-peeringdbProvides Django ORM models and admin interface…
permissive · top 15,000 on PyPI