{ "info": { "author": "David Broudy", "author_email": "dave@broudy.net", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "############################\ndjango-apollo Documentation\n############################\n\nAbout\n=====\n\nThe best way to prove an idea is to test it. Whether you want to test a new\nfeature in an existing application or prove an entirely new concept,\ndjango-apollo helps you quickly add a landing page to your existing Django\nsite or create a new landing page based MVP site.\n\nUsage\n=====\n\nInstallation\n------------\n\n``pip install django-apollo``\n\nDependencies\n------------\n\nIn addition to Django, the following python packages are required by this\npackage, and should be installed automatically by ``pip``:\n\n* ``django-ckeditor >= 4.4``\n* ``django-widget-tweaks >= 1.3``\n\nBootstrap 3 and jQuery are also required, but because there are so many ways to\nadd these to your project, they have not been made dependencies. \n\nSettings\n--------\n\n* Add 'apollo' to your ``INSTALLED_APPS``\n* Create a list of ``LANDING_PAGE_TEMPLATES`` that will be used in your landing\n pages. You must create at least one. Typically these will be in your site's\n root template directory.\n\nAdmin Configuration\n-------------------\n\n* Configure your **Site** as appropriate.\n* Create a **Page** including key and landing template.\n* Add **Question** if needed.\n\nTemplates\n=========\n\nThe templates include a flexible layout scheme that allows you to define named\nblocks in your template file and type the content into the **Page** using the\nDjango Admin.\n\nHere is an example landing page template that you can include in your Django Site::\n\n {% extends \"base.html\" %}\n\n {% block content %}\n\n
\n
\n {{ content.main|safe }}\n
\n
\n\n {% include \"apollo/buttons.html\" %}\n {% endblock %}\n\nThis assumes that you have a ``base.html`` template that defines your overall\nsite layout and contains a content block.\n\nSave this to a file ``landing1.html`` in your templates directory and then\nconfigure ``LANDING_PAGE_TEMPLATES``::\n\n LANDING_PAGE_TEMPLATES = (\n ('landing1.html', 'Landing Page One'),\n )\n\nVariable Page Content\n---------------------\n\nNote the ``content.main`` template variable in the above example. Any Page\nContent that you add in the Django Admin for the **Page** will be added with\nthe key into this content dictionary. You can arrange these in your landing\npage templates however you'd like, then easily update them in the admin site.\n\nIn addition to regular variables, you can expose a list by ending your keys\nwith an index. For example use keys in the format ideas[0], ideas[1]... to\ncreate a template that iterates over a variable ``content.ideas``::\n\n {% for i in content.ideas %}\n ...\n {% endfor %}", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dbroudy/django-apollo/", "keywords": "landing page mvp minimum viable project launch", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-apollo", "package_url": "https://pypi.org/project/django-apollo/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-apollo/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dbroudy/django-apollo/" }, "release_url": "https://pypi.org/project/django-apollo/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "A simple landing page Django app with quick setup, minimal dependencies, but still managable from Django admin pages.", "version": "0.2.1" }, "last_serial": 1507146, "releases": { "0.1": [], "0.2": [ { "comment_text": "", "digests": { "md5": "f5f842cec218b11bb51879c99628d3d0", "sha256": "2d5497aa9ad077b5e05011507cc6eb7fe348348c73c9e398c362be4d70ed2771" }, "downloads": -1, "filename": "django-apollo-0.2.tar.gz", "has_sig": false, "md5_digest": "f5f842cec218b11bb51879c99628d3d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6205, "upload_time": "2015-04-15T20:01:43", "url": "https://files.pythonhosted.org/packages/94/c7/5dc66a753eda5b93de017d52c2b16839f7c4a1b3c378f779415585a9531b/django-apollo-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "d792b06a3f594db3020b43c61278f141", "sha256": "b0babf13e88db4713b3e01a1717de676ab4446e1347366a7ff0d07239ddf7855" }, "downloads": -1, "filename": "django-apollo-0.2.1.tar.gz", "has_sig": false, "md5_digest": "d792b06a3f594db3020b43c61278f141", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7221, "upload_time": "2015-04-16T00:29:49", "url": "https://files.pythonhosted.org/packages/8b/5d/e8d6d4bd5e94b7288376035552d67e8242da5649b28e03098342c62f4d2a/django-apollo-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d792b06a3f594db3020b43c61278f141", "sha256": "b0babf13e88db4713b3e01a1717de676ab4446e1347366a7ff0d07239ddf7855" }, "downloads": -1, "filename": "django-apollo-0.2.1.tar.gz", "has_sig": false, "md5_digest": "d792b06a3f594db3020b43c61278f141", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7221, "upload_time": "2015-04-16T00:29:49", "url": "https://files.pythonhosted.org/packages/8b/5d/e8d6d4bd5e94b7288376035552d67e8242da5649b28e03098342c62f4d2a/django-apollo-0.2.1.tar.gz" } ] }