Patternfly support for Django projects
Project description
django-patternfly
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
Goal
The goal of this project is to seamlessly blend Django and PatternFly.
Requirements
Python 3.6 or newer with Django >= 2.2 or newer.
Documentation
The full documentation is (will be) at https://django-patternly.readthedocs.io/
Installation
-
Install using pip:
pip install django-patternfly
-
Add to
INSTALLED_APPSin yoursettings.py:INSTALLED_APPS = ( # ... "patternfly", # ... )
-
In your templates, load the
patternflylibrary and use thepatternfly_*tags:
Example template
{% load patternfly %}
<html>
<head>
{% patternfly_css %}
</head>
<body>
{% block patternfly_content %}
Main Content
{% endblock %}
</body>
</html>
Development
Install poetry
$ conda install -c conda-forge poetry
Bugs and suggestions
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
License
You can use this under BSD-3-Clause. See LICENSE file for details.
Author
Developed and maintained by Rintsi.
Please see AUTHORS.md for a list of contributors.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-patternfly-0.0.1.tar.gz.
File metadata
- Download URL: django-patternfly-0.0.1.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1036-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdd7db9ed10c601491be04df3f94f44c078cd743ab7ec5d847547b907c85ce3b
|
|
| MD5 |
dd74b1c4b2c96b4384b93841e0e403d4
|
|
| BLAKE2b-256 |
906a20e413f84b209499076df6914fc7c0c18e4978a07cbc72578834ce30d018
|
File details
Details for the file django_patternfly-0.0.1-py3-none-any.whl.
File metadata
- Download URL: django_patternfly-0.0.1-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1036-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fe0263c17c6ee6e3426ea42754abe9dfbcfaa07aedc705aa36674cdaa74ef09
|
|
| MD5 |
6f3926946cee51e168860378046b9a52
|
|
| BLAKE2b-256 |
b244bc45b0a5d95c14bb93fa5cf97930f01fab5e3226846ef6861e918b742085
|