{ "info": { "author": "Albert Tugushev", "author_email": "albert@tugushev.ru", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python" ], "description": "===================\nDjango Static Pages\n===================\n\nA reusable Django app that generates static pages using Django test client.\n\n.. image:: https://badge.fury.io/py/django-static-pages.svg\n :target: https://badge.fury.io/py/django-static-pages\n\n.. image:: https://travis-ci.org/atugushev/django-static-pages.svg?branch=master\n :target: https://travis-ci.org/atugushev/django-static-pages\n\n.. image:: https://coveralls.io/repos/atugushev/django-static-pages/badge.svg?branch=master&service=github\n :target: https://coveralls.io/github/atugushev/django-static-pages?branch=master\n\nInstallation\n------------\n\n1. Install a package::\n\n $ pip install django-static-pages\n\n2. Add \"static_pages\" to your INSTALLED_APPS setting::\n\n INSTALLED_APPS = (\n ...\n 'static_pages',\n )\n\n\nConfiguration\n-------------\n\nSpecify which files should be generated as static files::\n\n STATIC_PAGES_LIST = (\n ('/', 'index.html'),\n ('/about/', 'about.html'),\n ('news:list', 'news/index.html'),\n )\n\nSet path for an output directory of the static files::\n\n STATIC_PAGES_DIR = '/srv/example.com/html/'\n\nThis kwargs will be passed to the Django test client arguments. It may be usefull if you want to\ncontrol WSGI environments of the ``RequestFactory`` of the the client::\n\n STATIC_PAGES_CLIENT_KWARGS = {\n 'SERVER_NAME': 'example.com',\n }\n\nUsage\n-----\n\nJust execute the following command::\n\n $ python manage.py generate_static_pages\n\n\nRequirements\n------------\n\n* Python 2.7+ or 3+\n* Django>=1.5", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/atugushev/django-static-pages", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-static-pages", "package_url": "https://pypi.org/project/django-static-pages/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-static-pages/", "project_urls": { "Homepage": "https://github.com/atugushev/django-static-pages" }, "release_url": "https://pypi.org/project/django-static-pages/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "A reusable Django app that generates static pages using Django test client", "version": "0.1.2" }, "last_serial": 1858336, "releases": { "0.1": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "522a3b327d7c0ddb60cb393162df215b", "sha256": "fdc40832f5cd25b0a22d7e88a04470fbc85d622fd49fd9b077075319f1c61485" }, "downloads": -1, "filename": "django-static-pages-0.1.1.tar.gz", "has_sig": false, "md5_digest": "522a3b327d7c0ddb60cb393162df215b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4905, "upload_time": "2015-12-12T00:33:56", "url": "https://files.pythonhosted.org/packages/8b/db/378f200ca1b0468dfa3909be9efacaef0dea2b44856877e8fbea28434cf8/django-static-pages-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "9243c504a5daaedab5dfb3c01a3b3c4b", "sha256": "3b2a9372f372924ff4fb1f7cfb84466f0961aa734537417c143f6c42276492dd" }, "downloads": -1, "filename": "django-static-pages-0.1.2.tar.gz", "has_sig": false, "md5_digest": "9243c504a5daaedab5dfb3c01a3b3c4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4866, "upload_time": "2015-12-12T01:05:40", "url": "https://files.pythonhosted.org/packages/20/9b/5edfcaa8a93672fce1cbe9402afbc6c73e243fd9c375a736ca97365dc124/django-static-pages-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9243c504a5daaedab5dfb3c01a3b3c4b", "sha256": "3b2a9372f372924ff4fb1f7cfb84466f0961aa734537417c143f6c42276492dd" }, "downloads": -1, "filename": "django-static-pages-0.1.2.tar.gz", "has_sig": false, "md5_digest": "9243c504a5daaedab5dfb3c01a3b3c4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4866, "upload_time": "2015-12-12T01:05:40", "url": "https://files.pythonhosted.org/packages/20/9b/5edfcaa8a93672fce1cbe9402afbc6c73e243fd9c375a736ca97365dc124/django-static-pages-0.1.2.tar.gz" } ] }