{
"info": {
"author": "Simone Deponti",
"author_email": "simone.deponti@abstract.it",
"bugtrack_url": null,
"classifiers": [
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Plone",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License"
],
"description": "This package allows you to use the Django_ ORM within Plone_.\n\nIt takes care to merge Django transaction management within Zope's own\ntransaction manager.\n\nBasic usage\n===========\n\nIn order to use this package you must have a setup that looks like the following:\n\n 1. Your settings module must be within buildout's \"adjusted\"\n ``sys.path``. This means it should be importable from within Plone, hence\n that it should be an egg (either released or more commonly in development).\n Jacob Kaplan-Moss explains how to do this for a `Django buildout`_.\n\n 2. Your buildout should contain both the Plone parts and the Django parts\n together, hence the standard Plone buildouts plus the bits you see in\n Jacob's tutorial. Make sure that your plone instance has, within its eggs,\n the project one (``shorturls`` in Jacob's example) either derived from\n buildout's ones or local to the instance.\n\nThe second step is to make sure that your Plone instance has a special\nenvironment variable that Django needs to know where its settings are. Hence\nput, under your instance buildout section, something like this::\n\n [buildout]\n ...\n [instance]\n recipe = plone.recipe.zope2instance\n ...\n environment-vars =\n DJANGO_SETTINGS_MODULE shorturls.testsettings\n\nAgain values are borrowed from Jacob's post.\n\n.. note:: Please note that this environment variable will be set only if you\n run ``bin/instance``. Therefore when using supervisord, make sure you\n have it run ``bin/instance console`` and not any ``run.py`` script\n directly which would completely bypass setting the environment\n variable and leave you in the mud.\n\nThen just add the egg to your buildout, like this::\n\n [buildout]\n ...\n eggs =\n ...\n collective.django\n\nThe package itself relies on ``z3c.autoinclude`` to load its ZCML when Plone is\npulled up. In case this does not work, include a::\n\n \n\nWithin your package ZCML.\n\nAnd whenever you will import your Django models from Plone, the transaction\nwill be managed by Zope.\n\nTesting\n=======\n\nTo run the tests, a minimal buildout is included. After checking out the source\ncode, run the following::\n\n $ python bootstrap.py\n $ bin/buildout\n $ bin/test\n\nAnd the tests should be ran.\n\n.. _Django: http://www.djangoproject.com/\n.. _Plone: http://www.plone.org/\n.. _`Django buildout`: http://jacobian.org/writing/django-apps-with-buildout/\n\nChangelog\n=========\n\n1.0 (2014-08-29)\n----------------\n\n- fix to work with Django 1.6\n [vangheem]\n\n0.2 (2011-09-28)\n----------------\n\n - fix bad release\n\n0.1 (2011-09-16)\n----------------\n\n - Django 1.3 compatibility and initialization fixes [vangheem]\n - Initial public version [shywolf9982]\n\nContributors\n============\n\n- Simone Deponti \n- Nathan Van Gheem\n\nA big thanks to the developers of `zope.sqlalchemy`_ for providing a good\n\"template\".\n\nInitial developement supported by `Abstract Open Solutions`_\n\n.. _`zope.sqlalchemy`: http://pypi.python.org/pypi/zope.sqlalchemy/\n.. _`Abstract Open Solutions`: http://www.abstract.it/",
"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/collective/collective.django",
"keywords": "",
"license": "BSD",
"maintainer": null,
"maintainer_email": null,
"name": "collective.django",
"package_url": "https://pypi.org/project/collective.django/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/collective.django/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "http://github.com/collective/collective.django"
},
"release_url": "https://pypi.org/project/collective.django/1.0/",
"requires_dist": null,
"requires_python": null,
"summary": "Django transaction integration for Plone",
"version": "1.0"
},
"last_serial": 1206894,
"releases": {
"0.1": [
{
"comment_text": "",
"digests": {
"md5": "738e5f9036738b101a820215f5461170",
"sha256": "88447c93d6c0c4d3d16db5d94270398feb876400ebf3f85516737cb68197f4e6"
},
"downloads": -1,
"filename": "collective.django-0.1.tar.gz",
"has_sig": false,
"md5_digest": "738e5f9036738b101a820215f5461170",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5182,
"upload_time": "2011-09-16T01:06:40",
"url": "https://files.pythonhosted.org/packages/ad/3e/93daf9a43b7f2eaf5c70a3b12ef95f64b976185d05f5273629fe29a9ffb6/collective.django-0.1.tar.gz"
}
],
"0.2": [
{
"comment_text": "",
"digests": {
"md5": "42f2860a38c5b8a66ce6d8d58bc080f2",
"sha256": "dbb08487599d827785d5d1244689f58c7b253749a73f621524ee6ec5c0a635e9"
},
"downloads": -1,
"filename": "collective.django-0.2.zip",
"has_sig": false,
"md5_digest": "42f2860a38c5b8a66ce6d8d58bc080f2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 22106,
"upload_time": "2011-09-28T21:20:18",
"url": "https://files.pythonhosted.org/packages/69/ab/0b86cefb01f778fbfd83d28b885b54c66bf26618202254eb1e2756bbf754/collective.django-0.2.zip"
}
],
"1.0": [
{
"comment_text": "",
"digests": {
"md5": "20cb83d2ad850e87afcdd8924462ec6c",
"sha256": "f3af0697e726d56846eb400b6b83af578c507937fad4d0f862915230cd1a4716"
},
"downloads": -1,
"filename": "collective.django-1.0.zip",
"has_sig": false,
"md5_digest": "20cb83d2ad850e87afcdd8924462ec6c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 22181,
"upload_time": "2014-08-29T19:24:00",
"url": "https://files.pythonhosted.org/packages/18/9a/7b714dd7c779842bdb6c68916989a32fcac20748b78787e1bc8ecd13919f/collective.django-1.0.zip"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "20cb83d2ad850e87afcdd8924462ec6c",
"sha256": "f3af0697e726d56846eb400b6b83af578c507937fad4d0f862915230cd1a4716"
},
"downloads": -1,
"filename": "collective.django-1.0.zip",
"has_sig": false,
"md5_digest": "20cb83d2ad850e87afcdd8924462ec6c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 22181,
"upload_time": "2014-08-29T19:24:00",
"url": "https://files.pythonhosted.org/packages/18/9a/7b714dd7c779842bdb6c68916989a32fcac20748b78787e1bc8ecd13919f/collective.django-1.0.zip"
}
]
}