{ "info": { "author": "CFPB", "author_email": "tech@cfpb.gov", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Framework :: Django", "Intended Audience :: Developers", "License :: Public Domain", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Django MySQL SSL\n\n**Description**: Backport support for manage.py dbshell when mysql SSL is enabled\n\n## Dependencies\n\nThis application is confirmed to work with Django 1.5. It should also work with Django 1.6-1.7. This plugin is not necessary for Django 1.8, as the capability is built into the core.\n\n## Installation\n\n1. Install the application and its dependencies\n\n```\npip install django-mysql-ssl\n```\n\n## Usage\n\n1. Make sure you have configured your mysql database in the django settings with the appropriate ssl ca. You may also need 'cert' and 'key', but for most purposes 'ca' should work fine. This functionality is built into django and has nothing to do with this plugin.\n\n```python\nDATABASES = {\n 'default': {\n 'ENGINE': 'django.db.backends.mysql',\n ...\n 'OPTIONS': {'ssl': {'ca': ''}}\n }\n}\n```\n\n1. Connect to the db shell using the `dbshell_ssl` command: \n\n```shell\n./manage.py dbshell_ssl\n```\n\n## Known issues\n\nNone\n\n## Getting help\n\nIf you have questions, concerns, bug reports, etc, please file an issue in this repository's Issue Tracker.\n\n## Getting involved\n\nPlease feel free to fork this repo and submit Pull Requests with any enhancements.\n\n\n----\n\n## Open source licensing info\n1. [TERMS](TERMS.md)\n2. [LICENSE](LICENSE)\n3. [CFPB Source Code Policy](https://github.com/cfpb/source-code-policy/)\n\n\n----\n\n## Credits and references\n\n1. Django ticket explaining the broken dbshell command: https://code.djangoproject.com/ticket/22646\n1. Django PR implementing the functionality in Django 1.8: https://github.com/django/django/commit/01801edd3760f97a4ebc4d43ca5bbdbbdfebbb0a", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/cfpb/django-mysql-ssl", "keywords": null, "license": "Public Domain", "maintainer": null, "maintainer_email": null, "name": "django-mysql-ssl", "package_url": "https://pypi.org/project/django-mysql-ssl/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-mysql-ssl/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/cfpb/django-mysql-ssl" }, "release_url": "https://pypi.org/project/django-mysql-ssl/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "Backport dbshell support for ssl mysql connections in Django < 1.8", "version": "0.0.1" }, "last_serial": 1802969, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "95df3412b6f293109558091eb1ab9854", "sha256": "d530eee021c1444b163a9e4dcfe922122007e7df41d15b3d8a2471ac850590d2" }, "downloads": -1, "filename": "django-mysql-ssl-0.0.1.tar.gz", "has_sig": false, "md5_digest": "95df3412b6f293109558091eb1ab9854", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6413, "upload_time": "2015-11-05T16:16:01", "url": "https://files.pythonhosted.org/packages/6c/ea/e4ceb4c5ccdb1e1d50503319f7f45812a514f296ee21c448fe961c84f28e/django-mysql-ssl-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "95df3412b6f293109558091eb1ab9854", "sha256": "d530eee021c1444b163a9e4dcfe922122007e7df41d15b3d8a2471ac850590d2" }, "downloads": -1, "filename": "django-mysql-ssl-0.0.1.tar.gz", "has_sig": false, "md5_digest": "95df3412b6f293109558091eb1ab9854", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6413, "upload_time": "2015-11-05T16:16:01", "url": "https://files.pythonhosted.org/packages/6c/ea/e4ceb4c5ccdb1e1d50503319f7f45812a514f296ee21c448fe961c84f28e/django-mysql-ssl-0.0.1.tar.gz" } ] }