skillfed

dj-materialized-views

Django admin app that allows you to manage materialized views from the admin panel

dj-materialized-views v0.4.1 174.1K downloads/30d#10,291 on PyPI
Permissive license MIT Abandoned released

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-views

uv

uv add dj-materialized-views

poetry

poetry add dj-materialized-views

Installing 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

Environment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 2.2Framework :: Django :: 3.1Framework :: Django :: 3.2Framework :: Django :: 4.0Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Utilities

Tags

django materialized views adminpostgresql materialized views managementdjango database view refreshmaterialized view scheduler djangopostgres view admin paneldjango celery beat materialized views
django-adminpostgresqlmaterialized-views

More Libraries packages