{ "info": { "author": "Thomas Power", "author_email": "thomaspwr@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "===================\ndjango-simple-pages\n===================\n\n|travis| |codacy| |coverage| |pypi|\n\n.. |travis| image:: https://travis-ci.org/teapow/django-simple-pages.svg?branch=master\n :target: https://travis-ci.org/teapow/django-simple-pages\n\n.. |codacy| image:: https://api.codacy.com/project/badge/Grade/9be353b72b944c788f886934fafe9742\n :target: https://www.codacy.com/app/teapow/django-simple-pages\n\n.. |coverage| image:: https://api.codacy.com/project/badge/Coverage/9be353b72b944c788f886934fafe9742\n :target: https://www.codacy.com/app/teapow/django-simple-pages\n\n.. |pypi| image:: https://badge.fury.io/py/django-simple-pages.svg\n :target: https://badge.fury.io/py/django-simple-pages\n\n\n`django-simple-pages` allows you to store HTML documents in models, which can\nbe served automatically without the need for hard-coded URL patterns.\n\nExample use cases include:\n\n* Serving a static website.\n* Handling redirects for relocated resources.\n* Verifying site ownership for Google Search Console.\n\n\nQuick-start\n===========\n\n1. Install ``pip install django-simple-pages``.\n2. Add ``simple_pages`` to ``INSTALLED_APPS``.\n3. Add ``simple_pages.middleware.PageFallbackMiddleware`` to ``MIDDLEWARE``.\n4. Run ``python manage.py migrate simple_pages``.\n\n\nUsage\n=====\n\nSimply navigate to ``/admin`` and create a new ``Page`` object. A ``Page``\nconsists of the following attributes:\n\n* **title:** The title of the page. This is rendered in the ``