{ "info": { "author": "Enrico Tr\u00f6ger", "author_email": "enrico.troeger@uvena.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP" ], "description": "mezzanine-sync-pages\n====================\n\n[![Travis CI](https://travis-ci.org/eht16/mezzanine-sync-pages.svg?branch=master)](https://travis-ci.org/eht16/mezzanine-sync-pages)\n[![PyPI](https://img.shields.io/pypi/v/mezzanine-sync-pages.svg)](https://pypi.org/project/mezzanine-sync-pages/)\n[![Python Versions](https://img.shields.io/pypi/pyversions/mezzanine-sync-pages.svg)](https://pypi.org/project/mezzanine-sync-pages/)\n[![License](https://img.shields.io/pypi/l/mezzanine-sync-pages.svg)](https://pypi.org/project/mezzanine-sync-pages/)\n\nmezzanine-sync-pages let you synchronize the contents of pages\nin Mezzanine.\nThis comes in handy if you want to manage your page contents\nas plain text/HTML files rather than in a web editor and if you\nwant to manage your content in a version control system like Git.\n\nIt does synchronize *only* the page contents and not any metadata\n(like title, slug, publish date, ...).\n\nTo create an initial dump of all existing pages in Mezzanine you can\nuse the management command `dump_pages`.\nTo write back the previously dumped (and maybe modified) contents, use\nthe `sync_pages` management command or the corresponding action in the\nadmin interface.\n\n### Features:\n\n- Dump contents of all pages in Mezzanine as files\n- Write back page contents to Mezzanine\n- Detect unmodified content and skip those pages\n- Display a diff on modified content after updating\n\n\nInstallation\n------------\n\nThe easiest method is to install directly from pypi using pip:\n\n pip install mezzanine-sync-pages\n\n\nIf you prefer, you can download mezzanine-sync-pages from\nhttps://github.com/eht16/mezzanine-sync-pages and install it directly from source:\n\n python setup.py install\n\n\nGet the Source\n--------------\n\nThe source code is available at https://github.com/eht16/mezzanine-sync-pages/.\n\n\nConfiguration\n-------------\n\n- Add `mezzanine_sync_pages` to `INSTALLED_APPS`\n\n- Set `MEZZANINE_SYNC_PAGES_DESTINATION_PATH` in your settings.py to the path\n where the content files can be found\n\n\nUsage\n-----\n\nAfter activating the app, two new management commands are added:\n\n- `dump_pages`: create an initial dump of all pages in Mezzanine and\n write the corresponding files in `MEZZANINE_SYNC_PAGES_DESTINATION_PATH`\n\n- `sync_pages`: read all files from `MEZZANINE_SYNC_PAGES_DESTINATION_PATH` and write their\n content to Mezzanine\n\nAdditionally, a new action in the Mezzanine admin interface is added to trigger the\nsynchronization of the pages to Mezzanine.\n\n\nChangeLog\n---------\n\n### 1.0.1 / 2019-06-23\n\n- Add trailing new line only if content is not empty\n (fixes crashing on empty pages when dumping)\n\n### 1.0.0 / 2019-06-01\n\n- Initial release\n\n\nLicense\n-------\nmezzanine-sync-pages is licensed under the MIT license.\n\n\nAuthor\n------\n\nEnrico Tr\u00f6ger \n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/eht16/mezzanine-sync-pages/", "keywords": "django mezzanine pages synchronize", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mezzanine-sync-pages", "package_url": "https://pypi.org/project/mezzanine-sync-pages/", "platform": "", "project_url": "https://pypi.org/project/mezzanine-sync-pages/", "project_urls": { "Homepage": "https://github.com/eht16/mezzanine-sync-pages/", "Source code": "https://github.com/eht16/mezzanine-sync-pages/", "Travis CI": "https://travis-ci.org/eht16/mezzanine-sync-pages/" }, "release_url": "https://pypi.org/project/mezzanine-sync-pages/1.0.1/", "requires_dist": null, "requires_python": ">=3.5", "summary": "Django app to synchronize Mezzanine page content to and from files", "version": "1.0.1" }, "last_serial": 5436793, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "3d92dbef9250f46d0dfd593372d442a5", "sha256": "78d391ddb265a7ded073503f65dc85884cb60913124f5d894378f8176c63f6cf" }, "downloads": -1, "filename": "mezzanine_sync_pages-1.0.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "3d92dbef9250f46d0dfd593372d442a5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 11357, "upload_time": "2019-06-01T11:57:00", "url": "https://files.pythonhosted.org/packages/42/1e/f462f2000e9368e6730d845853d6a49c28cd6f072e5e0b058ef42f2a1236/mezzanine_sync_pages-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "acf30157688e911f6c6b80fee9a9bbfe", "sha256": "cde2760f19444f5b8a9fbc552ab87fb9038862380695869794bf455ec2ad5245" }, "downloads": -1, "filename": "mezzanine-sync-pages-1.0.0.tar.gz", "has_sig": true, "md5_digest": "acf30157688e911f6c6b80fee9a9bbfe", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 8100, "upload_time": "2019-06-01T11:57:02", "url": "https://files.pythonhosted.org/packages/b9/c1/7362ec0a167bcb82d413767854a611d8bc11fc9ca80e14a08a81a26536aa/mezzanine-sync-pages-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "3d6b8be1daa3d298b5395b59222be2a6", "sha256": "b6aeac30bb0e7c6a08b36f0857479a46ef364096e72dd181629a20bd2e034901" }, "downloads": -1, "filename": "mezzanine_sync_pages-1.0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "3d6b8be1daa3d298b5395b59222be2a6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 11414, "upload_time": "2019-06-23T09:02:17", "url": "https://files.pythonhosted.org/packages/bc/eb/cda352f2e05ad92d54b728da9dc773f8ac51ecaaf507bdcf22dea7397147/mezzanine_sync_pages-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3bd5dc892c826936de38dd83f69acc8d", "sha256": "991872f992b6ba71dee58dd3dea52e1f819589bbe08820d0aaeab13f23026eef" }, "downloads": -1, "filename": "mezzanine-sync-pages-1.0.1.tar.gz", "has_sig": true, "md5_digest": "3bd5dc892c826936de38dd83f69acc8d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 8184, "upload_time": "2019-06-23T09:02:18", "url": "https://files.pythonhosted.org/packages/7d/8b/d5ccaf549ec16423685d155bca43014a2da699a85ad9fab2c2c6b9622c61/mezzanine-sync-pages-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3d6b8be1daa3d298b5395b59222be2a6", "sha256": "b6aeac30bb0e7c6a08b36f0857479a46ef364096e72dd181629a20bd2e034901" }, "downloads": -1, "filename": "mezzanine_sync_pages-1.0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "3d6b8be1daa3d298b5395b59222be2a6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.5", "size": 11414, "upload_time": "2019-06-23T09:02:17", "url": "https://files.pythonhosted.org/packages/bc/eb/cda352f2e05ad92d54b728da9dc773f8ac51ecaaf507bdcf22dea7397147/mezzanine_sync_pages-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3bd5dc892c826936de38dd83f69acc8d", "sha256": "991872f992b6ba71dee58dd3dea52e1f819589bbe08820d0aaeab13f23026eef" }, "downloads": -1, "filename": "mezzanine-sync-pages-1.0.1.tar.gz", "has_sig": true, "md5_digest": "3bd5dc892c826936de38dd83f69acc8d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 8184, "upload_time": "2019-06-23T09:02:18", "url": "https://files.pythonhosted.org/packages/7d/8b/d5ccaf549ec16423685d155bca43014a2da699a85ad9fab2c2c6b9622c61/mezzanine-sync-pages-1.0.1.tar.gz" } ] }