Example casepro data pod returning statically configureddata
Project description
Example casepro data pod returning statically configured data.
Install
$ pip install casepropods.dummy
Usage
In casepro’s settings file, add the pod as an installed app, and configure the pods that you would like to show in the UI:
INSTALLED_APPS += ('casepropods.dummy.plugin.DummyPodPlugin',)
PODS = [{
# maps this pod to the dummy pod type
'label': 'dummy_pod',
# title of the pod to show in the ui
'title': 'Maternal Health Info',
# static data to show as item in the ui for this pod
# (only relevant to the dummy pod type)
'data': {
'items': [{
'name': 'EDD',
'value': '2015-07-18'
}, {
'name': 'Clinic Code',
'value': '2034 6524 6421'
}]
}
}]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for casepropods.dummy-0.2.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b2f94df53f12e489a6303a9f04781877a26aa8865e161d0014874fcad355c75 |
|
MD5 | 8deb52b51933d3040015aac9460d838a |
|
BLAKE2b-256 | 69f57a98bd8c308538155050e0f62ee58d6ed53eb9950a3234968c72540a07f6 |