timonweb/django-bulma
À propos
Bulma theme for Django
Développement web et applicatifProgression mesurée des étoiles
- in 24h
- -2
- in 7 days
- -2
- in 15 days
- -2
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalA Bulma Theme for Django Projects

A Django base theme based on Bulma (bulma.io). Bulma is a modern CSS framework based on Flexbox.
*** work in progress ***
Installation
- 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 ..
- Add to INSTALLED_APPS in your settings.py:
'bulma',
- 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 %}
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_projectYou 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 install4.3 Start sass watch mode:
python manage.py bulma startFor forms, in your templates, load the
bulma_tagslibrary and use the|bulmafilters: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
2017 - 2025 (c) Tim Kamanin - A Full Stack Django and Wagtail Developer
Explorer des projets similaires
Chargement…