{ "info": { "author": "Comect", "author_email": "gdude2002@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-simple-buefy\n===================\n\n[![Build Status](https://dev.azure.com/comect/Comect/_apis/build/status/Django%20Simple%20Buefy?branchName=master)](https://dev.azure.com/comect/Comect/_build/latest?definitionId=2&branchName=master)\n\nThis project aims to provide an easy, automatic way to include \n[Buefy](https://buefy.org/), [Bulma](https://bulma.io/) and \n[Vue](https://vuejs.org/) alongside your Django project.\n\nThis project currently make use of **Buefy 0.8.7**, **Bulma 0.7.5** and \n**Vue 2.6.10**. If you need something in a newer version of these libraries, \nplease feel free to\n[create an issue](https://github.com/comect/django-simple-buefy/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)\nand we'll get around to it when we can.\n\nThis project is a direct fork of Python Discord's excellent\n[django-simple-bulma](https://github.com/python-discord/django-simple-bulma)\nproject, and it therefore has many similarities with it. Big thanks to\nthe [Python Discord](https://pythondiscord.com) team for their work on \nthat project!\n\nSetup\n=====\n\nTo get `django-simple-buefy` up and running for your Django project, \nfollow these simple steps:\n\n1. Install it via Pip (`pip install django-simple-buefy`) or other dependency\n management tool\n2. In your `settings.py` file:\n * Add `django_simple_buefy` to your `INSTALLED_APPS`\n * Add `django_simple_buefy.finders.SimpleBuefyFinder` to your `STATICFILES_FINDERS`\n3. Run `python manage.py collectstatic` in order to build and collect all of\n the assets handled by `django-simple-buefy`; please note that you'll need to do\n this again when you change your `django-simple-buefy` configuration\n4. In your templates, load `django_simple_buefy` to make use of its template tags:\n * `{% buefy %}` placed in your template's `` will insert script and link tags\n for the files `django-simple-buefy` provides\n5. Create your Vue app and get hacking!\n\nPlease note that unlike `django-simple-bulma`, `django-simple-buefy` does not provide\nany icon sets. Buefy recommends [Material Design Icons](https://materialdesignicons.com/),\nbut [Font-Awesome 5](https://fontawesome.com/) is also fully compatible.\n\nCustomisation\n=============\n\nLike `django-simple-bulma`, this project supports customisation of the SASS variables\nthat are used by Bulma and Buefy. You can do this in a similar fashion, by creating\nthe `BUEFY_SETTINGS` dictionary within your `setup.py`.\n\n```python\nBUEFY_SETTINGS = {\n \"variables\": {\n \"primary\": \"#000\",\n \"size-1\": \"6rem\"\n }\n}\n```\n\nAll values must be valid SASS or CSS. For more information on the variables you\ncan customise, please see [the Buefy documentation](https://buefy.org/documentation/customization/).\n\nTemplate Tag Settings\n=====================\n\n**Added in version 1.0.3**\n\nBecause there are many different situations that need to be addressed by a\nlibrary like this, `django-simple-buefy` contains some additional settings\nfor your project.\n\nModule Mode\n-----------\n\nBy default, `django-simple-buefy` will assume that you'd like to make use of\n[ES6 modules](https://caniuse.com/#feat=es6-module), and the `{% buefy %}` tag\nwill only include the relevant Buefy `