The development of this module has been halted per 20 May 2023 because Carbon Design System from IBM no longer support vanilla js. Previously I developed similar module using Material Design System from Google. The reason I moved from Material Design was because the documentation doesn't match their releases, I found better documentation support in Carbon Design. The documentation was meant for the users of the library.
For the next iteration I will be using Engie's Fluid Design System, the python module will be named django-fluid-design and can be found here https://github.com/dozymoe/django-fluid-design
Hopefully it will last longer.
Implements Carbon Design System as Django templatetags.
Documentations:
- https://dozymoe.github.io/django-carbondesign
- https://www.carbondesignsystem.com/components/overview/
- Add
carbondesign
to yourINSTALLED_APPS
setting. - Load template tag like this
{% load carbondesign %}
. - Add built-in assets (js/css)
{% carbondesign_assets %}
. - Use the components
{% Pagination pager=page_obj %}
.