{ "info": { "author": "Kevin Gill (www.OpenApp.ie)", "author_email": "kevin.gill@openapp.ie", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Intended Audience :: Healthcare Industry", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Medical Science Apps.", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Indivo Django Admin Site\n========================\n\n.. highlights::\n\n THIS IS A DEVELOPERS TOOL. DO NOT USE IT IN AN ENVIRONMENT WITH LIVE MEDICAL DATA.\n THIS TOOL BY-PASSES THE INDIVO SECURITY\n\nIndivo does not have a Django Admin Site. This tool is very useful for developers.\nI have implemented an AdminSite.\n\nThe Site is of interest for comprehending how the Record is connected. Start with\na Record and work your way around.\n\nFor further information on Indivo, visit::\n\n http://indivohealth.org/\n\nScreenshot\n----------\n\n.. image:: https://raw.github.com/kevingill1966/openapp_indivo_adminsite/master/docs/images/screenshot1.png\n\nInstallation\n------------\n\nMake sure you are in the correct virtualenv environment::\n\n . python/bin/activate (or similar)\n\nIf you are running Django 1.4, we recommend using admin_enhancer ::\n\n pip install django-admin-enhancer\n\nInstall the package::\n\n pip install openapp_indivo_adminsite\n\nYou need to create a separate settings file, for the admin site, in the indivo_server\ndirectory. This settings file is intended only to run the admin site. Call this \nfile settings_admin.py. Include the following code.\n\n.. code::\n\n\n # This configuration is for the Indivo admin site - it uses the standard\n # settings, but replaces a middleware to allow the Django Authentication\n # system to work.\n\n import os.path\n from settings import *\n\n\n # The admin site requires the Django Static Files logic.\n STATIC_ROOT = ''\n STATIC_URL = '/static/'\n STATICFILES_FINDERS = (\n 'django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder',\n )\n\n # Need to load the templates from an egg.\n TEMPLATE_LOADERS += (\n 'django.template.loaders.eggs.Loader',\n )\n\n # THIS REPLACES THE INDIVO MIDDLEWARE TO PERMIT DJANGO AUTHENTICATION\n MIDDLEWARE_CLASSES = (\n 'django.middleware.common.CommonMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n )\n\n # ENABLE THE ADMIN URLS\n ROOT_URLCONF = 'openapp_indivo.adminsite.urls'\n\n INSTALLED_APPS = (\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'django.contrib.admin',\n 'django.contrib.admindocs',\n 'indivo',\n 'codingsystems',\n 'south',\n 'openapp_indivo.adminsite',\n )\n\n # Admin urls are picky about the trailing slash\n APPEND_SLASH = True\n\n\n # If admin enhancer is available, use it (requires django 1.4)\n try:\n import admin_enhancer\n INSTALLED_APPS += 'admin_enhancer',\n except:\n pass\n\n import openapp_indivo.adminsite\n ADMINSITE_ROOT_DIR = os.path.dirname(openapp_indivo.adminsite.__file__)\n TEMPLATE_DIRS = (ADMINSITE_ROOT_DIR + '/templates/',) + TEMPLATE_DIRS\n\n\nSync your database to create tables required to support admin.::\n\n python manage.py syncdb --settings=settings_admin\n python manage.py migrate --settings=settings_admin\n\nCreate a superuser. You login as superuser to create other users.::\n\n python manage.py createsuperuser --settings=settings_admin\n\nNow start your server. This will run the admin web server on port 10000.\nIf you want to make the admin url visible outside of the current server,\neither use 0.0.0.0 instead of localhost, or proxy this server via apache or similar.::\n\n python manage.py runserver localhost:10000 --settings=settings_admin\n\nYou can access this url from your browser using:\n\n http://localhost:10000/admin/\n\nShort-comings\n-------------\n\nAfter upload of a document, display the status and provide a hyperlink to go to the\ndocument. Allow user to provide more fields.\n\nOn the document view, provide links to facts contained in the document only.\n\nFor all foreign keys, need autocomplete logic. Otherwise the system cannot\nfunction with any volume of data.\n\nAll changelists require search configuration for dealing with volumes of data.\n\nSupport for Django 1.3.X. Currently index.html is coded to support 1.4 only.\n\nIntegration of the Document Revision History and the Django Revision History.\n\nIntegration of the Audit Trail and the Django Revision History.\n\nLicence\n-------\n\nThis code is distributed under GPLv3. This is for consistency with Indivo, which\nis also distributed under that licence.\n\n http://www.gnu.org/licenses/gpl-3.0-standalone.html\n\n\nChangelog\n=========\n\n0.1 - Unreleased\n----------------\n\n* Initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kevingill1966/openapp_indivo_adminsite", "keywords": "indivo", "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "openapp_indivo_adminsite", "package_url": "https://pypi.org/project/openapp_indivo_adminsite/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/openapp_indivo_adminsite/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/kevingill1966/openapp_indivo_adminsite" }, "release_url": "https://pypi.org/project/openapp_indivo_adminsite/0.1/", "requires_dist": null, "requires_python": null, "summary": "Admin Site for Indivo", "version": "0.1" }, "last_serial": 795753, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "acde95e2c4cfc0b423728eedf8d6231a", "sha256": "8c2a0537ec82f4f215fbc306e22d5975c800dac057a823acc46d0108d74d2c01" }, "downloads": -1, "filename": "openapp_indivo_adminsite-0.1.tar.gz", "has_sig": false, "md5_digest": "acde95e2c4cfc0b423728eedf8d6231a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 90091, "upload_time": "2012-12-01T08:42:18", "url": "https://files.pythonhosted.org/packages/0e/46/8d46269bf92588edada735f12b437ec4e568a029cc22cded3c177a5fc6ec/openapp_indivo_adminsite-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "acde95e2c4cfc0b423728eedf8d6231a", "sha256": "8c2a0537ec82f4f215fbc306e22d5975c800dac057a823acc46d0108d74d2c01" }, "downloads": -1, "filename": "openapp_indivo_adminsite-0.1.tar.gz", "has_sig": false, "md5_digest": "acde95e2c4cfc0b423728eedf8d6231a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 90091, "upload_time": "2012-12-01T08:42:18", "url": "https://files.pythonhosted.org/packages/0e/46/8d46269bf92588edada735f12b437ec4e568a029cc22cded3c177a5fc6ec/openapp_indivo_adminsite-0.1.tar.gz" } ] }