Coder Social home page Coder Social logo

tfroehlich82 / django-propeller Goto Github PK

View Code? Open in Web Editor NEW
31.0 5.0 5.0 747 KB

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

Home Page: http://propeller.in/index.html

License: MIT License

Python 87.53% HTML 12.47%
django bootstrap material-design frontend propeller demo-application pypi google-material python python3 django-templates

django-propeller's Introduction

Propeller for Django

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

Build Status Coverage Status Code Health PyPI version PyPI downloads Updates Python 3

Requirements

  • Python 2.7, 3.3, 3.4, 3.5, or 3.6
  • Django >= 1.9

Installation

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

    'django_propeller',
    
  2. In your templates, load the django_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 http://django-propeller.readthedocs.io/en/stable/

Demo application

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

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/tfroehlich82/django-propeller/issues

Further Information

Propeller: http://propeller.in/

Bootstrap: http://getbootstrap.com/

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

Donation

Donation

[BTC Donation] 35bfZEE6NknfBVnEd86XZpGgqKeVjmXQxn

[ETH Donation] 0xc9eb5eaed97c94cd47def84fd23a9802fa40384b

[LTC Donation] LW4cbjTYCYuymdCBQRzgkRWMGfLBaG5g4C

License

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

Author

Developed and maintained by Thorsten Fröhlich, based on the idea of django-bootstrap3 from Dylan Verheul.

django-propeller's People

Contributors

pyup-bot avatar tfroehlich82 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

django-propeller's Issues

tests.py uses old django.core.urlresolvers

The tests.py imports the old django.core.urlresolvers which is deprecated in Django 2.0:
from django.core.resolvers import NoReverseMatch

Fix by changing to django.urls
from django.urls import NoReverseMatch

Implement navbar tag

Navbar is a simple wrapper for positioning branding, navigation, and other elements into a concise navigation header. It’s easily extensible and, with the help of our collapse plugin, it can easily integrate offscreen content.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.