{ "info": { "author": "Valentin Monte", "author_email": "valentin.monte@optiflows.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# django-idshost\n\nDjango app to integrate your project in the ids infrastructure.\n\n### Installation\n\nYou can get django-idshost from PyPi:\n```bash\npip install django-idshost\n```\n\n### Configure\n\nTo use the app you should add it to your `INSTALLED_APPS` in `settings.py`.\n\n```python\nINSTALLED_APPS = (\n ... \n 'django_idshost',\n ...\n)\n```\n\nDjango-idshost custom the backend, the midleware and the model of the django user, so you have to override these datas in the `settings.py`.\n\n```python\nAUTHENTICATION_BACKENDS = (\n 'django_idshost.auth.idsauth.IdsRemoteUserBackend', #use to authenticate an ids user\n 'django.contrib.auth.backends.ModelBackend',#if you want to keep the default authentication, keep this line \n)\n\nMIDDLEWARE_CLASSES = (\n ...\n 'django_idshost.auth.idsauth.IdsHeaderMiddleware',#allow the specific http header use by ids to transmit the authenticate user\n ...\n)\n\nAUTH_USER_MODEL = 'django_idshost.IdsUser'\n\n```\n\nYou should also add your ids datas in the `settings.py`. These datas are transmited by ids.\n\n```python\nDJANGO_IDSHOST_SETTINGS = {\n 'APP_NAME': '...', #the name of the app 'xxx.idshost.fr'\n 'PRIVATE_IP': '...',#the private ip of your server in the ids infrastructure\n}\n```", "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/optiflows/django-idshost", "keywords": null, "license": "Apache License 2.0", "maintainer": null, "maintainer_email": null, "name": "django-idshost", "package_url": "https://pypi.org/project/django-idshost/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-idshost/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/optiflows/django-idshost" }, "release_url": "https://pypi.org/project/django-idshost/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Django app to interface with the ids infrastructure.", "version": "0.1.0" }, "last_serial": 1743661, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6ba28c9112ed2c38a7de72cd42de65e5", "sha256": "67c9dcbcc354387333624dbff49554a6bd75034b078123795664c4dce1df05c4" }, "downloads": -1, "filename": "django-idshost-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6ba28c9112ed2c38a7de72cd42de65e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9970, "upload_time": "2014-06-05T12:09:52", "url": "https://files.pythonhosted.org/packages/a2/44/f44c5534fa1ad52f03c65951b0659461f94e66770b9a066b62dd6276f599/django-idshost-0.1.0.tar.gz" } ], "0.1.0-dev": [ { "comment_text": "", "digests": { "md5": "5d1a9d1a40366b7766e0369b468c671b", "sha256": "6d38ddaf300e3a5b22340c9ffc2845ce634ca5463120d69d9e5e8c5f0ecc2f4a" }, "downloads": -1, "filename": "django-idshost-0.1.0-dev.tar.gz", "has_sig": false, "md5_digest": "5d1a9d1a40366b7766e0369b468c671b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9966, "upload_time": "2014-06-05T10:36:06", "url": "https://files.pythonhosted.org/packages/79/52/a9f80f0e85aa0d106177bea71cc961cc4635d0d668f1e4f6e61a17326b1a/django-idshost-0.1.0-dev.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6ba28c9112ed2c38a7de72cd42de65e5", "sha256": "67c9dcbcc354387333624dbff49554a6bd75034b078123795664c4dce1df05c4" }, "downloads": -1, "filename": "django-idshost-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6ba28c9112ed2c38a7de72cd42de65e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9970, "upload_time": "2014-06-05T12:09:52", "url": "https://files.pythonhosted.org/packages/a2/44/f44c5534fa1ad52f03c65951b0659461f94e66770b9a066b62dd6276f599/django-idshost-0.1.0.tar.gz" } ] }