./www/py-djangocms-attributes-field, Implementation of JSONField for arbitrary HTML element attributes

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.0, Package name: py37-djangocms-attributes-field-1.2.0, Maintainer: adam

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.


Required to run:
[devel/py-setuptools] [www/py-django-cms] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 0c552d212e78be548786482f73981d8368af3a82
RMD160: 6613335cf20220de84364ec8eb44f0645192f449
Filesize: 10.479 KB

Version history: (Expand)


CVS history: (Expand)


   2020-02-19 10:52:38 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-djangocms-attributes-field: updated to 1.2.0

1.2.0:
Added support for Django 3.0
Added support for Python 3.8
Added further tests to raise coverage
Fixed smaller issues found during testing

1.1.0:
Added support for Django 2.2 and django CMS 3.7
Removed support for Django 2.0
Extended test matrix
Added isort and adapted imports
Adapted code base to align with other supported addons
Added translations
   2020-02-03 09:26:18 by Thomas Klausner | Files touched by this commit (10)
Log message:
py-django*: mark as not for python 2.7 due to py-django-cms
   2018-12-13 22:20:38 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-djangocms-attributes-field: updated to 1.0.0

1.0.0:
Fixed compatibility with Django 2.x
Added proper test framework
Cleaned up file structure
   2018-11-20 19:38:34 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
py-djangocms-attributes-field: added version 0.4.0

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.