{ "info": { "author": "James Turk", "author_email": "jturk@sunlightfoundation.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "=================\ndjango-brainstorm\n=================\n\nDjango app for creating a site with multiple areas to brainstorm ideas.\n\nThis app powers http://sunlightlabs.com/ideas/ and other similar sites.\n\ndjango-brainstorm is a project of Sunlight Labs (c) 2009.\nWritten by James Turk .\n\nAll code is under a BSD-style license, see LICENSE for details.\n\nSource: http://github.com/sunlightlabs/django-brainstorm/\n\n\nRequirements\n============\n\npython >= 2.4\ndjango >= 1.0\n\nUsage\n=====\n\n1. Add 'brainstorm' to your ``INSTALLED_APPS`` setting.\n2. Add a reference to ``brainstorm.urls`` somewhere in your urls.py::\n\n (r'^', include('brainstorm.urls')), # something that looks like this\n\n3. Login to the django admin and create a subsite.\n\nA subsite has a slug, name, description, theme, and a number of other options. The important two are theme and slug, slug dictates where the subsite will live and theme specifies the name of a theme template (see `Creating Themes`_ for details)\n\nCreating Themes\n===============\n\nA theme is represented by a single django template, currently kept at templates/themes/themename.html\n\nRequired Elements\n-----------------\n\nThe theme must include a content block that will be filled by the page, the theme should also include \"idea_form.html\" if you wish to use the generic idea submission form.\n\nExample dynamic content block::\n\n \n
\n

{{subsite.name}}

\n
\n

project description

\n
\n\n
\n {% block content %}\n {% endblock %}\n
\n\n
\n

Submit New Idea

\n {% include \"idea_form.html\" %}\n
\n
\n
\n\n\nStyling the Theme\n-----------------\n\nObviously the styling/design of the static portions of the theme is entirely within the hands of the designer. \nThere are however a few dynamic sections which typically will need some form of styling.\n\nindex\n.....\n\nThe 'content' block of the index contains two divs: 'div#ideas' and 'div#pagination'.\n\n'div#ideas' contains an list where each li is a pair of div.btnVote and div.voteContent. When a div.btnVote has been voted up it will have the additional class 'voted' to allow for additional styling.\n\n'div.btnVote' contains the link 'a.vote_link' for voting and 'div.votes_counted' for displaying the current vote total.\n\n'div.voteContent' contains an

with the idea title, a div.commentMeta with the idea's submitter/date, and a

with the description.\n\n\nidea\n....\n\nThe content block of the idea page contains two divs: 'div#idea' and 'div#comments'.\n\n'div#idea' contains a single pair of 'div.btnVote' and 'div.voteContent' (see `index`_ for description of these elements)\n\n'div#comments' contains an

with the number of comments, then an ordered list where each
  • has the following elements:\n\n* div.commentMeta which contains span.commentMetaAuthor and span.commentMetaDate\n* div.commentContent which contains a

    with the comment itself\n\n(TODO: comment form)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/sunlightlabs/django-brainstorm/", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "django-brainstorm", "package_url": "https://pypi.org/project/django-brainstorm/", "platform": "any", "project_url": "https://pypi.org/project/django-brainstorm/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/sunlightlabs/django-brainstorm/" }, "release_url": "https://pypi.org/project/django-brainstorm/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Django brainstorming site", "version": "0.2.1" }, "last_serial": 789208, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "a0a06eed45dc03a2a4a58403ed4580ca", "sha256": "996cad99413342f050e6878684859f4e23ee32b2ce33851853e08ecd978e0218" }, "downloads": -1, "filename": "django-brainstorm-0.1.tar.gz", "has_sig": false, "md5_digest": "a0a06eed45dc03a2a4a58403ed4580ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6615, "upload_time": "2009-05-27T21:56:57", "url": "https://files.pythonhosted.org/packages/a5/60/8c7428ca3afc3ffd8a7e3315ce929d5184e45400b59382f5e551e536db8b/django-brainstorm-0.1.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "7f414b9cb466a083c3793ae351e77a8f", "sha256": "f33687368d59455caf8d1c8ca3c1df60a83fec204b7a1b41c25828d3c71a2a8b" }, "downloads": -1, "filename": "django-brainstorm-0.2.1.tar.gz", "has_sig": false, "md5_digest": "7f414b9cb466a083c3793ae351e77a8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7138, "upload_time": "2009-12-09T20:24:03", "url": "https://files.pythonhosted.org/packages/85/52/8579a41088552ade6bcd52edb92ea2fe1556867a28b6f56f683e2c567ae0/django-brainstorm-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7f414b9cb466a083c3793ae351e77a8f", "sha256": "f33687368d59455caf8d1c8ca3c1df60a83fec204b7a1b41c25828d3c71a2a8b" }, "downloads": -1, "filename": "django-brainstorm-0.2.1.tar.gz", "has_sig": false, "md5_digest": "7f414b9cb466a083c3793ae351e77a8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7138, "upload_time": "2009-12-09T20:24:03", "url": "https://files.pythonhosted.org/packages/85/52/8579a41088552ade6bcd52edb92ea2fe1556867a28b6f56f683e2c567ae0/django-brainstorm-0.2.1.tar.gz" } ] }