Skip to main content

UNKNOWN

Project description

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...
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-discussion-0.6.tar.gz (14.4 kB view details)

Uploaded Source

File details

Details for the file django-discussion-0.6.tar.gz.

File metadata

File hashes

Hashes for django-discussion-0.6.tar.gz
Algorithm Hash digest
SHA256 72682e7bf5606cadcf82061a183f3ff5bce033990df76b3d48ddda2700223d30
MD5 40c39d513d64614de3fbe706bd860019
BLAKE2b-256 870128c5e148baf143d277823e6575c33dc3325c4dc9b0c60e93f215e59e5ea5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page