skip to navigation
skip to content

Not Logged In

django-discussion 0.6

Note: Requires authentication

Installation

pip install django-discussion

Configuration

JS/CSS

Example CSS and script references are commented out in the base template. Example CSS is compiled from SASS, so make any changes in the SASS and re-compile the CSS file.

The default AJAX/javascript require three jQuery libraries:

Settings

DISCUSSION_UPLOAD_EXTENSIONS

A Whitelist of file extensions that can be uploaded to a discussion. If this is set to [], no uploads will be accepted. If it is set to None, the whitelist will not be used.

Default:

DISCUSSION_UPLOAD_EXTENSIONS = [
    'odt', 'odf', 'odp',  # Open/LibreOffice
    'doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx',  # MS Office
    'pdf', 'gif', 'jpg', 'jpeg', 'png',  # Other sane defaults...
]
 
File Type Py Version Uploaded on Size
django-discussion-0.6.tar.gz (md5) Source 2012-06-12 14KB
  • Downloads (All Versions):
  • 48 downloads in the last day
  • 250 downloads in the last week
  • 751 downloads in the last month