pax_global_header 0000666 0000000 0000000 00000000064 14567301336 0014522 g ustar 00root root 0000000 0000000 52 comment=dfaa8133f63aae44310dce6642ec769f9c625809 crispy-bootstrap4-2024.1/ 0000775 0000000 0000000 00000000000 14567301336 0015222 5 ustar 00root root 0000000 0000000 crispy-bootstrap4-2024.1/.github/ 0000775 0000000 0000000 00000000000 14567301336 0016562 5 ustar 00root root 0000000 0000000 crispy-bootstrap4-2024.1/.github/workflows/ 0000775 0000000 0000000 00000000000 14567301336 0020617 5 ustar 00root root 0000000 0000000 crispy-bootstrap4-2024.1/.github/workflows/publish.yml 0000664 0000000 0000000 00000003207 14567301336 0023012 0 ustar 00root root 0000000 0000000 name: Publish Python Package on: release: types: [created] jobs: test: runs-on: ubuntu-latest name: Python ${{ matrix.python-version }} strategy: matrix: python-version: - '3.8' - '3.9' - '3.10' - '3.11' - '3.12' steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - uses: actions/cache@v3 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('requirements/*.txt') }} restore-keys: | ${{ runner.os }}-pip- - name: Upgrade packaging tools run: python -m pip install --upgrade pip setuptools virtualenv wheel - name: Install dependencies run: python -m pip install --upgrade tox - name: Run tox targets for ${{ matrix.python-version }} run: | ENV_PREFIX=$(tr -C -d "0-9" <<< "${{ matrix.python-version }}") TOXENV=$(tox --listenvs | grep "^py$ENV_PREFIX" | tr '\n' ',') tox - name: Run lint if: ${{ matrix.python-version == '3.9' }} run: | tox -e lint deploy: runs-on: ubuntu-latest needs: [test] steps: - uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4 with: python-version: "3.10" - name: Install dependencies run: | pip install setuptools wheel twine - name: Publish env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: | python setup.py sdist bdist_wheel twine upload dist/* crispy-bootstrap4-2024.1/.github/workflows/test.yml 0000664 0000000 0000000 00000002174 14567301336 0022325 0 ustar 00root root 0000000 0000000 name: CI on: push: branches: - main pull_request: jobs: tests: name: Python ${{ matrix.python-version }} runs-on: ubuntu-latest strategy: matrix: python-version: - '3.8' - '3.9' - '3.10' - '3.11' - '3.12' steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - uses: actions/cache@v3 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('requirements/*.txt') }} restore-keys: | ${{ runner.os }}-pip- - name: Upgrade packaging tools run: python -m pip install --upgrade pip setuptools virtualenv wheel - name: Install dependencies run: python -m pip install --upgrade tox - name: Run tox targets for ${{ matrix.python-version }} run: | ENV_PREFIX=$(tr -C -d "0-9" <<< "${{ matrix.python-version }}") TOXENV=$(tox --listenvs | grep "^py$ENV_PREFIX" | tr '\n' ',') tox - name: Run lint if: ${{ matrix.python-version == '3.9' }} run: | tox -e lint crispy-bootstrap4-2024.1/.gitignore 0000664 0000000 0000000 00000000163 14567301336 0017212 0 ustar 00root root 0000000 0000000 .venv __pycache__/ *.py[cod] *$py.class venv .eggs .pytest_cache *.egg-info .DS_Store .vscode *python-version .tox crispy-bootstrap4-2024.1/CHANGELOG.md 0000664 0000000 0000000 00000000723 14567301336 0017035 0 ustar 00root root 0000000 0000000 # CHANGELOG FOR CRISPY-BOOTSTRAP4 ## 2024.1 (2024-02-27) * Enabled custom-control checkbox inputs when `show_form_labels` is False. ## 2023.1 (2023-10-16) * Confirmed support for Django 4.2. * Dropped support for Django 3.2, 4.0 and 4.1. * Added support for Django 5.0. * Added support for Python 3.12. * Dropped support for django-crispy-forms 1.x. ## 2022.1 * Initial release to move the template pack from core crispy-forms to a standalone template pack. crispy-bootstrap4-2024.1/LICENSE 0000664 0000000 0000000 00000002060 14567301336 0016225 0 ustar 00root root 0000000 0000000 Copyright (c) 2020 David Smith and contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. crispy-bootstrap4-2024.1/MANIFEST.in 0000664 0000000 0000000 00000000354 14567301336 0016762 0 ustar 00root root 0000000 0000000 include LICENSE include MANIFEST.in include README.md include CHANGELOG.md include tox.ini recursive-include crispy_bootstrap4/templates * recursive-include requirements *.txt recursive-include tests *.html recursive-include tests *.py crispy-bootstrap4-2024.1/README.md 0000664 0000000 0000000 00000001526 14567301336 0016505 0 ustar 00root root 0000000 0000000 # crispy-bootstrap4 [](https://github.com/smithdc1/crispy-bootstrap4/blob/main/LICENSE) Bootstrap4 template pack for django-crispy-forms. This template pack was included with the core django-crispy-forms package until version 2.0. ## Installation Install this plugin using `pip`: ```bash $ pip install crispy-bootstrap4 ``` ## Usage You will need to update your project's settings file to add `crispy_forms` and `crispy_bootstrap4` to your projects `INSTALLED_APPS`. Also set `bootstrap4` as and allowed template pack and as the default template pack for your project: ```python INSTALLED_APPS = ( ... "crispy_forms", "crispy_bootstrap4", ... ) CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap4" CRISPY_TEMPLATE_PACK = "bootstrap4" ``` crispy-bootstrap4-2024.1/crispy_bootstrap4/ 0000775 0000000 0000000 00000000000 14567301336 0020714 5 ustar 00root root 0000000 0000000 crispy-bootstrap4-2024.1/crispy_bootstrap4/__init__.py 0000664 0000000 0000000 00000000000 14567301336 0023013 0 ustar 00root root 0000000 0000000 crispy-bootstrap4-2024.1/crispy_bootstrap4/templates/ 0000775 0000000 0000000 00000000000 14567301336 0022712 5 ustar 00root root 0000000 0000000 crispy-bootstrap4-2024.1/crispy_bootstrap4/templates/bootstrap4/ 0000775 0000000 0000000 00000000000 14567301336 0025013 5 ustar 00root root 0000000 0000000 crispy-bootstrap4-2024.1/crispy_bootstrap4/templates/bootstrap4/accordion-group.html 0000664 0000000 0000000 00000001071 14567301336 0030773 0 ustar 00root root 0000000 0000000