Path to this page:
./
www/py-djangocms-attributes-field,
Implementation of JSONField for arbitrary HTML element attributes
Branch: pkgsrc-2019Q3,
Version: 1.0.0,
Package name: py37-djangocms-attributes-field-1.0.0,
Maintainer: adamThis 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.
Required to run:[
devel/py-setuptools] [
lang/python37] [
www/py-django-cms]
Required to build:[
pkgtools/cwrappers]
Master sites:
SHA1: 1aeb3093d20b18a69a928513c49858d326547c18
RMD160: ec15e9a6f39e658689319914316f5096694e972d
Filesize: 8.407 KB
Version history: (Expand)
- (2019-10-02) Package added to pkgsrc.se, version py37-djangocms-attributes-field-1.0.0 (created)