
Fork of django-postgres that focuses on maintaining and improving support for Postgres SQL Views.
PostgreSQL support in Django has seen significant enhancements with the introduction of first-class support for SQL Views. This integration allows developers to utilize PostgreSQL Views seamlessly within the Django framework, making it easier to manage and interact with complex queries and data structures. Whether you're looking to define fields, manage dependencies, or update views based on changing models, this feature empowers you to optimize your database interactions.
By leveraging this functionality, developers can create more efficient applications that maximize PostgreSQL's powerful capabilities. The implementation of database views through Django not only simplifies the learning curve for users familiar with the ORM but also brings the performance advantages of views to the forefront.
Easy Installation: Install via pip and add it to your Django project’s settings.py with minimal configuration required.
Flexible View Definition: Extend pg_views.view.View to create views easily and define SQL logic while mapping fields with a simple structure.
Automatic Sync: Use the command python manage.py sync_pgviews to create and update views automatically, ensuring they reflect the latest model changes.
Dependency Management: Specify dependencies to ensure that related views are installed and synchronized in the correct order, preventing potential conflicts during updates.
Support for Materialized Views: Leverage the power of materialized views in PostgreSQL for performance optimization, including automatic and concurrent refresh capabilities.
Custom Table Names: Define any table name for your views, allowing full flexibility in terms of schema and organization within PostgreSQL.
Post-Sync Listeners: Utilize sync listeners to trigger actions upon the synchronization of views, enhancing the ability to manage database states and reactions in your applications.

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. It follows the model-view-controller (MVC) architectural pattern, providing an extensive set of built-in tools and conventions to streamline the creation of robust and scalable web applications.
A fullstack boilerplate provides a starter application that includes both frontend and backend. It should include database, auth, payments, user roles and other backend services to build a fully featured saas or webapps.