Develop more, Code less. Propeller integration with Django. Propeller is a front-end responsive framework based on Google's Material Design Standards & Bootstrap.
Write Django as usual, and let django-propeller
make template output into code based on Google's Material Design Standards & Bootstrap.
pip install django-propeller
Add to INSTALLED_APPS in your settings.py
:
'django_propeller',
In your templates, load the django_propeller
library and use the propeller_*
tags:
{% load propeller %}
{# Display a form #}
<form action="/url/to/submit/" method="post" class="form">
{% csrf_token %}
{% propeller_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">
{% propeller_icon "star" %} Submit
</button>
{% endbuttons %}
</form>
The full documentation is at http://django-propeller.readthedocs.io/en/stable/
The demo application provides a number of useful examples.
clone the repo:
$ git clone https://github.com/tfroehlich82/django-propeller.git
cd into the cloned directory:
$ cd django-propeller
run the testserver:
$ python manage.py runserver
open your browser and browse to:
http://127.0.0.1:8000
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/tfroehlich82/django-propeller/issues
Propeller: http://propeller.in/
Bootstrap: http://getbootstrap.com/
Google Material Design: https://material.io/
[BTC Donation] 35bfZEE6NknfBVnEd86XZpGgqKeVjmXQxn
[ETH Donation] 0xc9eb5eaed97c94cd47def84fd23a9802fa40384b
[LTC Donation] LW4cbjTYCYuymdCBQRzgkRWMGfLBaG5g4C
You can use this under MIT License. See LICENSE file for details.
Developed and maintained by Thorsten Fröhlich, based on the idea of django-bootstrap3 from Dylan Verheul.