{ "info": { "author": "Gabriel Grant", "author_email": "g@briel.ca", "bugtrack_url": null, "classifiers": [], "description": "For when you don't need no stinkin' CMS\n\nMakes things ever-so-slightly easier when you just want to serve a bunch of pages\nthat are just rendered templates (with no special views or context)\n\nRouting autogeneration\n----------------------\n\ndefine STATICPAGES_TEMPLATES in your settings.py as a series of\n(section_name, base_url, base_template_path) three-tuples:\n\nSTATICPAGES_TEMPLATES = [\n ('homesite', '', 'homesite'),\n ('subsite', 'url/of/subsite', 'staticpages/subsite'),\n]\n\nmake a directory-and-page hierarchy there, and the files will be automatically served with properly-named urls\n\nURL patterns are named by the site section name, and have a parameter for\nthe path: reverse('sectionname', args=('path/to/file'))\n\nFor example:\n\n$PROJECT_ROOT/templates/homesite/\n - index.html\n - pricing.html\n - about/\n - index.html\n - team.html\n - news.html\n\nreverse('homesite', args=('about/team') -> '/about/team'\n\n\nTODO\n====\n\nMenu activation\n---------------\n\n\nhttp://110j.wordpress.com/2009/01/25/django-template-tag-for-active-class/\n\n\n\nSitemaps\n--------\n\nhttp://minimoesfuerzo.org/2011/02/12/sitemaps-django-static-pages/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.org/gabrielgrant/django-staticpages/", "keywords": null, "license": "LGPL", "maintainer": null, "maintainer_email": null, "name": "django-staticpages", "package_url": "https://pypi.org/project/django-staticpages/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-staticpages/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.org/gabrielgrant/django-staticpages/" }, "release_url": "https://pypi.org/project/django-staticpages/0.2.3/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "0.2.3" }, "last_serial": 790765, "releases": { "0.2.3": [ { "comment_text": "", "digests": { "md5": "8e2d2cbfbaefadc873c14f4b72095593", "sha256": "097e629ed7c245948ad54a984858d05aef731403ecadd49dcf1dc88512ac201e" }, "downloads": -1, "filename": "django-staticpages-0.2.3.tar.gz", "has_sig": false, "md5_digest": "8e2d2cbfbaefadc873c14f4b72095593", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3332, "upload_time": "2012-02-08T17:23:46", "url": "https://files.pythonhosted.org/packages/fb/bf/a764f4d6f870c2d02ef83eb772758ea6752ad4903cf6ec248d4cd8323705/django-staticpages-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8e2d2cbfbaefadc873c14f4b72095593", "sha256": "097e629ed7c245948ad54a984858d05aef731403ecadd49dcf1dc88512ac201e" }, "downloads": -1, "filename": "django-staticpages-0.2.3.tar.gz", "has_sig": false, "md5_digest": "8e2d2cbfbaefadc873c14f4b72095593", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3332, "upload_time": "2012-02-08T17:23:46", "url": "https://files.pythonhosted.org/packages/fb/bf/a764f4d6f870c2d02ef83eb772758ea6752ad4903cf6ec248d4cd8323705/django-staticpages-0.2.3.tar.gz" } ] }