%global _empty_manifest_terminate_build 0 Name: python-django-bootstrap4 Version: 23.1 Release: 1 Summary: Bootstrap 4 for Django License: BSD-3-Clause URL: https://github.com/zostera/django-bootstrap4 Source0: https://mirrors.nju.edu.cn/pypi/web/packages/59/d3/394d2af0d981562aa3cf4ac7ad68811d2b7d7d3840c2d618d2ed129358fe/django-bootstrap4-23.1.tar.gz BuildArch: noarch Requires: python3-Django Requires: python3-beautifulsoup4 Requires: python3-importlib-metadata %description # django-bootstrap 4 [![CI](https://github.com/zostera/django-bootstrap4/workflows/CI/badge.svg?branch=main)](https://github.com/zostera/django-bootstrap4/actions?workflow=CI) [![Coverage Status](https://coveralls.io/repos/github/zostera/django-bootstrap4/badge.svg?branch=main)](https://coveralls.io/github/zostera/django-bootstrap4?branch=main) [![Latest PyPI version](https://img.shields.io/pypi/v/django-bootstrap4.svg)](https://pypi.python.org/pypi/django-bootstrap4) [![Any color you like](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) Bootstrap 4 integration for Django. ## Goal The goal of this project is to seamlessly blend Django and Bootstrap 4. ## Requirements Python 3.7 or newer with Django 3.2 or newer. ## Documentation The full documentation is at https://django-bootstrap4.readthedocs.io/ ## Installation 1. Install using pip: ```bash pip install django-bootstrap4 ``` Alternatively, you can install download or clone this repo and call ``pip install -e .``. 2. Add to `INSTALLED_APPS` in your `settings.py`: ```python INSTALLED_APPS = ( # ... "bootstrap4", # ... ) ``` 3. In your templates, load the `bootstrap4` library and use the `bootstrap_*` tags. See example below. ## Example template ```jinja {% load bootstrap4 %} {# Display a form #}
{% csrf_token %} {% bootstrap_form form %} {% buttons %} {% endbuttons %}
``` ## Demo A demo app is provided in `demo`. You can run it from your virtualenv with `python manage.py runserver`. ## 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/zostera/django-bootstrap4/issues ## License You can use this under BSD-3-Clause. See [LICENSE](LICENSE) file for details. ## Author Developed and maintained by [Zostera](https://zostera.nl). Original author: [Dylan Verheul](https://github.com/dyve). Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words. Please see [AUTHORS](AUTHORS) for a list of contributors. %package -n python3-django-bootstrap4 Summary: Bootstrap 4 for Django Provides: python-django-bootstrap4 BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-django-bootstrap4 # django-bootstrap 4 [![CI](https://github.com/zostera/django-bootstrap4/workflows/CI/badge.svg?branch=main)](https://github.com/zostera/django-bootstrap4/actions?workflow=CI) [![Coverage Status](https://coveralls.io/repos/github/zostera/django-bootstrap4/badge.svg?branch=main)](https://coveralls.io/github/zostera/django-bootstrap4?branch=main) [![Latest PyPI version](https://img.shields.io/pypi/v/django-bootstrap4.svg)](https://pypi.python.org/pypi/django-bootstrap4) [![Any color you like](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) Bootstrap 4 integration for Django. ## Goal The goal of this project is to seamlessly blend Django and Bootstrap 4. ## Requirements Python 3.7 or newer with Django 3.2 or newer. ## Documentation The full documentation is at https://django-bootstrap4.readthedocs.io/ ## Installation 1. Install using pip: ```bash pip install django-bootstrap4 ``` Alternatively, you can install download or clone this repo and call ``pip install -e .``. 2. Add to `INSTALLED_APPS` in your `settings.py`: ```python INSTALLED_APPS = ( # ... "bootstrap4", # ... ) ``` 3. In your templates, load the `bootstrap4` library and use the `bootstrap_*` tags. See example below. ## Example template ```jinja {% load bootstrap4 %} {# Display a form #}
{% csrf_token %} {% bootstrap_form form %} {% buttons %} {% endbuttons %}
``` ## Demo A demo app is provided in `demo`. You can run it from your virtualenv with `python manage.py runserver`. ## 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/zostera/django-bootstrap4/issues ## License You can use this under BSD-3-Clause. See [LICENSE](LICENSE) file for details. ## Author Developed and maintained by [Zostera](https://zostera.nl). Original author: [Dylan Verheul](https://github.com/dyve). Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words. Please see [AUTHORS](AUTHORS) for a list of contributors. %package help Summary: Development documents and examples for django-bootstrap4 Provides: python3-django-bootstrap4-doc %description help # django-bootstrap 4 [![CI](https://github.com/zostera/django-bootstrap4/workflows/CI/badge.svg?branch=main)](https://github.com/zostera/django-bootstrap4/actions?workflow=CI) [![Coverage Status](https://coveralls.io/repos/github/zostera/django-bootstrap4/badge.svg?branch=main)](https://coveralls.io/github/zostera/django-bootstrap4?branch=main) [![Latest PyPI version](https://img.shields.io/pypi/v/django-bootstrap4.svg)](https://pypi.python.org/pypi/django-bootstrap4) [![Any color you like](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) Bootstrap 4 integration for Django. ## Goal The goal of this project is to seamlessly blend Django and Bootstrap 4. ## Requirements Python 3.7 or newer with Django 3.2 or newer. ## Documentation The full documentation is at https://django-bootstrap4.readthedocs.io/ ## Installation 1. Install using pip: ```bash pip install django-bootstrap4 ``` Alternatively, you can install download or clone this repo and call ``pip install -e .``. 2. Add to `INSTALLED_APPS` in your `settings.py`: ```python INSTALLED_APPS = ( # ... "bootstrap4", # ... ) ``` 3. In your templates, load the `bootstrap4` library and use the `bootstrap_*` tags. See example below. ## Example template ```jinja {% load bootstrap4 %} {# Display a form #}
{% csrf_token %} {% bootstrap_form form %} {% buttons %} {% endbuttons %}
``` ## Demo A demo app is provided in `demo`. You can run it from your virtualenv with `python manage.py runserver`. ## 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/zostera/django-bootstrap4/issues ## License You can use this under BSD-3-Clause. See [LICENSE](LICENSE) file for details. ## Author Developed and maintained by [Zostera](https://zostera.nl). Original author: [Dylan Verheul](https://github.com/dyve). Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words. Please see [AUTHORS](AUTHORS) for a list of contributors. %prep %autosetup -n django-bootstrap4-23.1 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-django-bootstrap4 -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Mon Apr 10 2023 Python_Bot - 23.1-1 - Package Spec generated