{ "info": { "author": "Ben Lopatin", "author_email": "ben@benlopatin.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "================\ndjango-wordpress\n================\n\nModels and views for reading a WordPress database. Compatible with WordPress version 3.5+.\n\ndjango-wordpress is a project of `Sunlight Foundation `_.\n\n\n--------\nFeatures\n--------\n\nRead-only models to protect your content\n========================================\n\nThis package is **designed to be read-only**. Writing is enabled by adding ``WP_READ_ONLY = False`` to settings.py. None of the WordPress specific logic is included while writing to the database so there is a good chance you will break your WordPress install if you enable writing.\n\nWordPress table prefix\n======================\n\nThe default table prefix is *wp*. To change the table prefix, add ``WP_TABLE_PREFIX = 'yourprefix'`` to settings.py.\n\nMultiple database support\n=========================\n\nAdded the ability to specify which database the WordPress content is coming from. Set it using the *WP_DATABASE* setting. Defaults to \"default\".\n\nDatabase routers need be set to::\n\n DATABASE_ROUTERS = ['wordpress.router.WordpressRouter']\n\nDefault templates\n=================\n\nDefault templates are provided only for development purposes so you can see content in your browser! Please override these with customized templates for your application.\n\nExport Management Commands\n==========================\n\n* *wpexport* Dump published posts in WXR format.\n* *wpexportauthors* Export authors as CSV.\n\n-----------------------------\nWorking With WordPress Models\n-----------------------------\n\nTen most recent published posts::\n\n Posts.objects.published()[:10]\n\nPosts tagged *wordpress*::\n\n Posts.objects.term(\"wordpress\")\n\nPost attachments::\n\n for attachment in post.attachments():\n pass\n\nPost tags::\n\n post.tags()\n\n\n------------\nInstallation\n------------\n\n::\n\n pip install the-real-django-wordpress\n\nAdd to INSTALLED_APPS in settings.py::\n\n 'wordpress'\n\nInclude the following in urls.py::\n\n url(r'^path/to/blog/', include('wordpress.urls')),", "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/bennylope/dj-wordpress/", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "dj-wordpress", "package_url": "https://pypi.org/project/dj-wordpress/", "platform": "any", "project_url": "https://pypi.org/project/dj-wordpress/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/bennylope/dj-wordpress/" }, "release_url": "https://pypi.org/project/dj-wordpress/0.10.1/", "requires_dist": null, "requires_python": null, "summary": "Django models and views for a WordPress database.", "version": "0.10.1" }, "last_serial": 2328567, "releases": { "0.10.1": [ { "comment_text": "", "digests": { "md5": "844f943d3048efc8d5b88366f9e41c33", "sha256": "814a98ace4e9a266400e851af6f26cae0537c044280648667b35200cb2921888" }, "downloads": -1, "filename": "dj_wordpress-0.10.1-py3-none-any.whl", "has_sig": false, "md5_digest": "844f943d3048efc8d5b88366f9e41c33", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17562, "upload_time": "2016-09-07T02:46:13", "url": "https://files.pythonhosted.org/packages/ec/99/6d976e2bf089933ca5dfd3f13d5345031613e87deca1e632e87b2b52323d/dj_wordpress-0.10.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8cfd2421e507b4ae324331fce08c3d89", "sha256": "68417a8cffe265c7758206acb83154c313595b1dd28553223003c2a59abad08c" }, "downloads": -1, "filename": "dj-wordpress-0.10.1.tar.gz", "has_sig": false, "md5_digest": "8cfd2421e507b4ae324331fce08c3d89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16686, "upload_time": "2016-09-07T02:46:16", "url": "https://files.pythonhosted.org/packages/ed/9f/95585a64f6f9d6de39a7a1c81c0999005477bcd62c00176d7f815b5f8273/dj-wordpress-0.10.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "844f943d3048efc8d5b88366f9e41c33", "sha256": "814a98ace4e9a266400e851af6f26cae0537c044280648667b35200cb2921888" }, "downloads": -1, "filename": "dj_wordpress-0.10.1-py3-none-any.whl", "has_sig": false, "md5_digest": "844f943d3048efc8d5b88366f9e41c33", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17562, "upload_time": "2016-09-07T02:46:13", "url": "https://files.pythonhosted.org/packages/ec/99/6d976e2bf089933ca5dfd3f13d5345031613e87deca1e632e87b2b52323d/dj_wordpress-0.10.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8cfd2421e507b4ae324331fce08c3d89", "sha256": "68417a8cffe265c7758206acb83154c313595b1dd28553223003c2a59abad08c" }, "downloads": -1, "filename": "dj-wordpress-0.10.1.tar.gz", "has_sig": false, "md5_digest": "8cfd2421e507b4ae324331fce08c3d89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16686, "upload_time": "2016-09-07T02:46:16", "url": "https://files.pythonhosted.org/packages/ed/9f/95585a64f6f9d6de39a7a1c81c0999005477bcd62c00176d7f815b5f8273/dj-wordpress-0.10.1.tar.gz" } ] }