{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["python","www"],"comment":"Django components that know how to render themselves","compare":"/compare/py312-laces/index.json","dependentCount":null,"description":"Laces components provide a simple way to combine data (in the form of Python\nobjects) with the Django templates that are meant to render that data. The\ncomponents can then be simply rendered in any other template using the {%25\ncomponent %25} template tag. That parent template does not need to know anything\nabout the component's template or data. No need to receive, filter, restructure\nor pass any data to the component's template. Just let the component render\nitself.\n\nTemplate and data are tied together in the component, and they can be passed\naround together. This becomes especially useful when components are nested -- it\nallows us to avoid building the same nested structure twice (once in the data\nand again in the templates).\n\nWorking with objects that know how to render themselves as HTML elements is a\ncommon pattern found in complex Django applications, such as the Wagtail admin\ninterface. The Wagtail admin is also where the APIs provided in this package\nhave previously been discovered, developed and solidified. The purpose of this\npackage is to make these tools available to other Django projects outside the\nWagtail ecosystem.","flavors":[],"html":"https://daemonports.org/dragonfly/www/py-laces/","kind":"port","lastUpdate":null,"license":["BSD3CLAUSE"],"maintainer":"sunpoet@FreeBSD.org","name":"py311-laces","newest":true,"newestVersion":"0.1.2","noVulnData":false,"origin":"www/py-laces","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"www/py-laces","path":"/www/py-laces/","system":"FreeBSD","version":"0.1.2_1"},{"maintainer":"pkgsrc-users@NetBSD.org","origin":"www/py-laces","path":"/netbsd/www/py-laces/","system":"NetBSD","version":"0.1.0nb1"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"www/py-laces","path":"","system":"HardenedBSD","version":"0.1.2_1"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"www/py-laces","path":"","system":"GhostBSD","version":"0.1.2_1"}],"packages":null,"pkgName":"py311-laces-0.1.2","related":null,"repository":"DPorts","requiredBy":["www/py-wagtail"],"requiredByCount":1,"runDepends":["lang/python311","www/py-django42"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.1.2","versions":null,"vulnerabilities":null,"www":"https://github.com/tbrlpld/laces"}
