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
File details
Details for the file casepropods.dummy-0.2.4.tar.gz
.
File metadata
- Download URL: casepropods.dummy-0.2.4.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6d1faac8c4fa8a4f27862616529a0dc878a7c0fc7e99908f41793a46f0d559f |
|
MD5 | 6d65b864fdfe3c68c837734cf882946e |
|
BLAKE2b-256 | 2b8dd64b098140b5d433c11773e4897b5f57067d0080cfba68f5f969fc7a5b48 |
File details
Details for the file casepropods.dummy-0.2.4-py2-none-any.whl
.
File metadata
- Download URL: casepropods.dummy-0.2.4-py2-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b2f94df53f12e489a6303a9f04781877a26aa8865e161d0014874fcad355c75 |
|
MD5 | 8deb52b51933d3040015aac9460d838a |
|
BLAKE2b-256 | 69f57a98bd8c308538155050e0f62ee58d6ed53eb9950a3234968c72540a07f6 |