Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Example casepro data pod returning statically configureddata

Project description

Example casepro data pod returning statically configured data.


$ pip install casepropods.dummy


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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for casepropods.dummy, version 0.2.4
Filename, size File type Python version Upload date Hashes
Filename, size casepropods.dummy-0.2.4-py2-none-any.whl (4.3 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size casepropods.dummy-0.2.4.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page