www/py-djangocms-attributes-field 4.1.2 NetBSD
Implementation of JSONField for arbitrary HTML element attributes
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- modified-bsd
- Categories
- www, python
- Package size
- 21.1 KiB, 85.3 KiB installed
Description
This project aims to provide a sensible means of storing and managing arbitrary HTML element attributes for later emitting them into templates.
There are a wide variety of types of attributes and using the "normal" Django method of adding ModelFields for each on a business model is cumbersome at best and moreover may require related tables to allow cases where any number of the same type of attribute should be supported (i.e., data-attributes). This can contribute to performance problems.
To avoid these pitfalls, this package allows all of these attributes to be stored together in a single text field in the database as a JSON blob, but provides a nice widget to provide an intuitive, key/value pair interface and provide sensible validation of the keys used.
Install
Binary package:
pkgin install py311-djangocms-attributes-field
From pkgsrc:
cd /usr/pkgsrc/www/py-djangocms-attributes-field && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 4.1.2 |
| NetBSD 10.1 aarch64 | 4.1.2 |
| SmartOS / illumos x86_64 | 4.1.2 |
| macOS 15 arm64 | 4.1.2 |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 2
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-djangocms-attributes-field-4.1.2,py313-djangocms-attributes-field-4.1.2,py314-djangocms-attributes-field-4.1.2