{ "info": { "author": "Kevin Gill (OpenApp)", "author_email": "kevin.gill@openapp.ie", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Demographics\n============\n\nThis is a Django App which provides a screen to view and edit\nthe Demographics record.\n\nIt is an example / proof of concept application.\n\nThere is a dependency on the django-form-admin package. This package\nis used to provide a simple forms layer. This package requires the\ndjango.contrib.admin package to be configured.\n\nInstallation\n------------\n\nMake sure you are in the correct virtualenv environment::\n\n . python/bin/activate (or similar)\n\nConfigure pre-requisites::\n\n pip install django-form-admin\n\nInstall the package::\n\n pip install openapp_indivo_demographics\n\nRegister the packages. \nPlace these lines at the end of the settings.py file in the indivo_ui_server folder::\n\n import os.path\n import django.contrib\n ADMIN_ROOT_DIR = os.path.dirname(django.contrib.__file__) + \"/admin\"\n TEMPLATE_DIRS += ADMIN_ROOT_DIR + '/templates/',\n INSTALLED_APPS += 'django.contrib.admin',\n STATICFILES_DIRS += ADMIN_ROOT_DIR + '/static/',\n\n import formadmin\n FORMADMIN_ROOT_DIR = os.path.dirname(formadmin.__file__)\n TEMPLATE_DIRS += FORMADMIN_ROOT_DIR + '/templates/',\n INSTALLED_APPS += 'formadmin',\n\n import openapp_indivo.demographics\n DEMOGRAPHICS_ROOT_DIR = os.path.dirname(openapp_indivo.demographics.__file__)\n TEMPLATE_DIRS += DEMOGRAPHICS_ROOT_DIR + '/templates/',\n STATICFILES_DIRS += DEMOGRAPHICS_ROOT_DIR + '/static/',\n INSTALLED_APPS += 'openapp_indivo.demographics',\n\n MIDDLEWARE_CLASSES += 'openapp_indivo.demographics.middleware.GlobalRequestMiddleware',\n\nRestart the server to make sure the configuration is correct.\n\nYou have to manually set up the application in the indivo_server\nenvironment. It cannot detect it from the settings file.\n\nAdd these two files to the indivo_server environment. \n\nindivo_server/registered_apps/user/openapp_indivo.demographics/credentials.json::\n\n {\n \"consumer_key\": \"demographics@apps.openapp.ie\",\n \"consumer_secret\": \"demographics\"\n }\n\nindivo_server/registered_apps/user/openapp_indivo.demographics/manifest.json::\n\n {\n \"name\" : \"Demographics\",\n \"description\" : \"View and Edit the Demographics record.\",\n \"author\" : \"Kevin Gill, OpenApp\",\n \"id\" : \"demographics@apps.openapp.ie\",\n \"version\" : \"0.1.0\",\n \"smart_version\": \"0.0\",\n\n \"mode\" : \"ui\",\t\n \"scope\": \"record\",\n \"has_ui\": true,\n \"frameable\": true,\n\n \"icon\" : \"/static/openapp_indivo/demographics/images/demographics.png\",\n \"index\": \"/openapp_indivo/demographics/start_auth?record_id={record_id}&carenet_id={carenet_id}\",\n \"oauth_callback_url\": \"/openapp_indivo/demographics/after_auth\"\n }\n\nYou have to notify indivo that there is a change to the apps configuration.\nRun this command against the indivo_server manage.py::\n\n python manage.py sync_apps\n\n\nAfter this you should be able to add the application to a record.\n\n\nOutstanding Issues\n------------------\n\nWhere a record has no Demographics document, an error is produced. I don't know\nwhether records with Demographics documents are expected or the demo data is \nincomplete.\n\nChangelog\n=========\n\n1.0 - 22 Nov 2012\n-----------------\n\n* Initial release\n\n1.0.1 - 22 Nov 2012\n-----------------\n\n* Fix problems with installing from pypi.\n* Fix order of fields in the PUT document.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.openapp.ie", "keywords": "indivo", "license": "AGPL", "maintainer": null, "maintainer_email": null, "name": "openapp_indivo_demographics", "package_url": "https://pypi.org/project/openapp_indivo_demographics/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/openapp_indivo_demographics/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.openapp.ie" }, "release_url": "https://pypi.org/project/openapp_indivo_demographics/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "App to display and edit the Indivo Demographics Record", "version": "1.0.1" }, "last_serial": 795754, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "ea6da3b1523f6f769c8ffecff4ae8386", "sha256": "7468089d041b845fe17f5d50e286bbcd6c58d682776a746df18115557f8086a9" }, "downloads": -1, "filename": "openapp_indivo_demographics-1.0.1.tar.gz", "has_sig": false, "md5_digest": "ea6da3b1523f6f769c8ffecff4ae8386", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13185, "upload_time": "2012-11-22T15:04:32", "url": "https://files.pythonhosted.org/packages/26/4f/a4a075065c6b930da6dc8f8fd6a7e2fbd006bcab540597def6bbe797295f/openapp_indivo_demographics-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ea6da3b1523f6f769c8ffecff4ae8386", "sha256": "7468089d041b845fe17f5d50e286bbcd6c58d682776a746df18115557f8086a9" }, "downloads": -1, "filename": "openapp_indivo_demographics-1.0.1.tar.gz", "has_sig": false, "md5_digest": "ea6da3b1523f6f769c8ffecff4ae8386", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13185, "upload_time": "2012-11-22T15:04:32", "url": "https://files.pythonhosted.org/packages/26/4f/a4a075065c6b930da6dc8f8fd6a7e2fbd006bcab540597def6bbe797295f/openapp_indivo_demographics-1.0.1.tar.gz" } ] }