Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Develop more, Code less. Propeller integration with Django. Propeller is a front-end responsive framework based on Google's Material Design Standards & Bootstrap.

License

Notifications You must be signed in to change notification settings

RaddishIoW/django2-propeller

 
 

Repository files navigation

Propeller for Django2

Write Django as usual, and let django2-propeller make template output into code based on Google's Material Design Standards & Bootstrap.

Build Status Documentation Status Coverage Status Updates Python 3

Requirements

  • Python 3.3, 3.4, 3.5, or 3.6
  • Django >= 2.0

Installation

  1. Install using pip:
    pip install django2-propeller
  1. Add to INSTALLED_APPS in your settings.py:

    'django2_propeller',
    
  2. In your templates, load the django2_propeller library and use the propeller_* tags:

Example template

    {% 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>

Documentation

The full documentation is at https://django2-propeller.readthedocs.io/en/latest/

Demo application

The demo application provides a number of useful examples.

clone the repo:

$ git clone https://github.com/RaddishIoW/django2-propeller.git

cd into the cloned directory:

$ cd django2-propeller

run the testserver:

$ python manage.py runserver

open your browser and browse to:

http://127.0.0.1:8000

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/RaddishIoW/django2-propeller/issues

Further Information

Propeller: http://propeller.in/

Bootstrap: http://getbootstrap.com/

Google Material Design: https://material.io/

License

You can use this under MIT License. See LICENSE file for details.

Author

Originally developed and maintained by Thorsten Fröhlich, based on the idea of django-bootstrap3 from Dylan Verheul. This package is updated by Adam Radestock to work with Django 2

About

Develop more, Code less. Propeller integration with Django. Propeller is a front-end responsive framework based on Google's Material Design Standards & Bootstrap.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 87.3%
  • HTML 12.7%