All Projects → timonweb → Django Bulma

timonweb / Django Bulma

Licence: mit
Bulma theme for Django

Projects that are alternatives of or similar to Django Bulma

Ayudapy
Platform to help people help people
Stars: ✭ 79 (-69.26%)
Mutual labels:  django, bulma
biron-ghost-theme
Biron Free Ghost Theme
Stars: ✭ 43 (-83.27%)
Mutual labels:  bulma
Vinetos.fr
The website of Vinetos
Stars: ✭ 14 (-94.55%)
Mutual labels:  bulma
is-awesome
bulma template
Stars: ✭ 48 (-81.32%)
Mutual labels:  bulma
pagination
No description or website provided.
Stars: ✭ 14 (-94.55%)
Mutual labels:  bulma
Wedding
A basic wedding website I created for myself and Bec using the Bulma CSS framework, Particles.js, jQuery.countdown, Google Satisfy Font and FontAwesome icons.
Stars: ✭ 26 (-89.88%)
Mutual labels:  bulma
bulma-responsive-tables
Responsive tables component for Bulma CSS framework
Stars: ✭ 30 (-88.33%)
Mutual labels:  bulma
Django Ledger
A bookkeeping & financial analysis engine for the Django Framework. UNDER ACTIVE DEVELOPMENT & NOT STABLE YET.
Stars: ✭ 253 (-1.56%)
Mutual labels:  django
rechord
Let's share your chord progressions!
Stars: ✭ 62 (-75.88%)
Mutual labels:  bulma
bulma-prefers-dark
Bulma prefers dark theme
Stars: ✭ 169 (-34.24%)
Mutual labels:  bulma
bulmarazor
BulmaRazor is a component library built on top of Bulma and Blazor.
Stars: ✭ 53 (-79.38%)
Mutual labels:  bulma
bulmawp
A free WordPress starter theme based on the Bulma CSS framework.
Stars: ✭ 53 (-79.38%)
Mutual labels:  bulma
EnphaseCollector
Enphase Solar Metrics Collector
Stars: ✭ 31 (-87.94%)
Mutual labels:  bulma
personal-website
My personal website
Stars: ✭ 117 (-54.47%)
Mutual labels:  bulma
Parsifal
Parsifal is a tool to assist researchers to perform Systematic Literature Reviews
Stars: ✭ 254 (-1.17%)
Mutual labels:  django
Bulmascores
WordPress starter theme based on Underscores and Bulma
Stars: ✭ 14 (-94.55%)
Mutual labels:  bulma
bulma-resume-template
💼 Free resume page template with bulma css
Stars: ✭ 99 (-61.48%)
Mutual labels:  bulma
Feliz.Bulma
Bulma UI (https://bulma.io) wrapper for amazing Feliz DSL
Stars: ✭ 57 (-77.82%)
Mutual labels:  bulma
Django Vue.js Blog
django-vue.js-blog
Stars: ✭ 256 (-0.39%)
Mutual labels:  django
Django Oscar Api
RESTful JSON API for django-oscar
Stars: ✭ 251 (-2.33%)
Mutual labels:  django

A Bulma Theme for Django Projects

Django Bulma

A Django base theme based on Bulma (bulma.io). Bulma is a modern CSS framework based on Flexbox.

*** work in progress ***

Installation

  1. Install the python package django-bulma from pip

pip install django-bulma

Alternatively, you can install download or clone this repo and call pip install -e ..

  1. Add to INSTALLED_APPS in your settings.py:

'bulma',

  1. If you want to use the provided base template, extend from bulma/base.html:
{% extends 'bulma/base.html' %}

{% block title %}Bulma Site{% endblock %}

{% block content %}
  Content goes here...
{% endblock content %}

  1. If you want to customize bulma sass and your own components:

    4.1 Copy bulma static files into your project's STATIC_ROOT:

    python manage.py copy_bulma_static_into_project
    

    You should see bulma dir appeared in your STATIC_ROOT. It contains two dirs:

    • sass - this is the place where you can put your own sass code and customize bulma variables
    • css - this is where compiled sass output goes, you should link this file in your base.html

    4.2 Install npm packages for sass compilation to work:

    python manage.py bulma install
    

    4.3 Start sass watch mode:

    python manage.py bulma start
    
  2. For forms, in your templates, load the bulma_tags library and use the |bulma filters:

    Example template
    {% load bulma_tags %}
    
    {# Display a form #}
    
    <form action="/url/to/submit/" method="post">
       {% csrf_token %}
       {{ form|bulma }}
       <div class="field">
         <button type="submit" class="button is-primary">Login</button>
       </div>
       <input type="hidden" name="next" value="{{ next }}"/>
    </form>
    

Included templates

django-bulma comes with:

  • a base template,
  • django core registration templates,

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/timonweb/django-bulma/issues

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].