rails-inspire-django / django-viewcomponent

Build reusable components in Django, inspired by Rails ViewComponent

Home Page:https://django-viewcomponent.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

PyPI version PyPI Supported Python Versions

django-viewcomponent is a Django library that provides a way to create reusable components for your Django project.

It is inspired by Rails ViewComponent.

Why use django-viewcomponent

Single responsibility

django-viewcomponent can help developers to build reusable components from the Django templates, and make the templates more readable and maintainable.

Testing

django-viewcomponent components are Python objects, so they can be easily tested without touching Django view and Django urls.

Documentation

Documentation

About

Build reusable components in Django, inspired by Rails ViewComponent

https://django-viewcomponent.readthedocs.io/


Languages

Language:Python 92.0%Language:HTML 7.8%Language:Makefile 0.2%