Patternfly integration for Django. Ported from django-bootstrap4
DISCLAIMER: This is a port done over the weekend and is a very poorly featured package. The only purpose for this currently is to provide a CSS to be used in your project templates
The goal of this project is to seamlessly blend Django and PatternFly.
Python 3.6 or newer with Django >= 2.2 or newer.
The full documentation is (will be) at https://django-patternly.readthedocs.io/
-
Install using pip:
pip install django-patternfly
-
Add to
INSTALLED_APPS
in yoursettings.py
:INSTALLED_APPS = ( # ... "patternfly", # ... )
-
In your templates, load the
patternfly
library and use thepatternfly_*
tags:
{% load patternfly %}
<html>
<head>
{% patternfly_css %}
</head>
<body>
{% block patternfly_content %}
Main Content
{% endblock %}
</body>
</html>
Install poetry
$ conda install -c conda-forge poetry
If you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub.
https://github.com/Rintsi/django-patternfly/issues
You can use this under BSD-3-Clause. See LICENSE file for details.
Developed and maintained by Rintsi.
Please see AUTHORS.md for a list of contributors.