Skip to main content

django-discussion

A Facebook group style discussion forum.

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

Metadata

Release files for django-discussion 0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-discussion 0.6
File Size Uploaded Provenance Actions
django-discussion-0.6.tar.gz 14.4 kB Without provenance Details for django-discussion-0.6.tar.gz

Release files / django-discussion-0.6.tar.gz

Download URL django-discussion-0.6.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
72682e7bf5606cadcf82061a183f3ff5bce033990df76b3d48ddda2700223d30
BLAKE2b-256 checksum
How to use checksums
870128c5e148baf143d277823e6575c33dc3325c4dc9b0c60e93f215e59e5ea5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-discussion 0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page