www/py-django-crispy-forms 2.7 FreeBSD
Best way to have Django DRY forms
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
0ff86fcdef- License
- MIT
- Categories
- www, python
- Package size
- 57.4 KiB, 408.2 KiB installed
Description
The best way to have Django DRY forms. Build programmatic reusable layouts out of components, having full control of the rendered HTML without writing HTML in templates. All this without breaking the standard way of doing things in Django, so it plays nice with any other form application.
The application mainly provides:
- A filter named |crispy that will render elegant div based forms. Think of it as the built-in methods: as_table, as_ul and as_p. You cannot tune up the output, but it is easy to start using it.
- A tag named {% crispy %} that will render a form based on your configuration and specific layout setup. This gives you amazing power without much hassle, helping you save tons of time.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-django-crispy-forms | 2.7 |
| DragonFly | www/py-django-crispy-forms | 2.0_1 |
| HardenedBSD | www/py-django-crispy-forms | 2.7 |
| GhostBSD | www/py-django-crispy-forms | 2.7 |
Install
Binary package:
pkg install py312-django-crispy-forms
From the ports tree:
cd /usr/ports/www/py-django-crispy-forms/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-django-crispy-forms>0:www/py-django-crispy-forms
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.7 | 2.7 | 1.14.0_1 | 2.0_1 | 2.7 |
| FreeBSD:14:quarterly | 2.7 | 2.7 | n/a | 2.0_1 | 2.7 |
| FreeBSD:15:latest | 2.7 | 2.7 | n/a | 2.0_1 | 2.0_1 |
| FreeBSD:15:quarterly | 2.7 | 2.7 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.7 | 2.7 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}django52>=5.2: www/py-django52
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 18
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| django_crispy_forms-2.7.tar.gz | 1.097842e+06 | 4c59bed60417375cba26cebb2c67ab350b655934670270b1c89dbcd7e60f1b4c |
Master sites 1
- PYPI