Skip to main content

Django forum app

Project description

Travis CI Test coverage Code health Latest Python 2 version Latest Python 3 version Latest PyPI version Package requirements

A very simple/minimalistic Django Forum app based on yoanisgil’s Django simple forum project.

Example

A production example of this forum app courtesy of Game Erauntsia, basque gamer community

Dependencies

  • Django >= 1.8
  • django-photologue >= 3.6
  • django-tinymce >= 2.6.0

Installation

Clone this repository and add it to your INSTALLED_APPS list:

INSTALLED_APPS = [
    'django_forum_app',
]

Then run migrations:

./manage.py migrate django_forums_app

Finally, add this in urls.py:

url(r'^forum/', include('django_forum_app.urls')),

Settings

Ther are some option you could overrite to change the default behaviour of the forum:

FORUM_SUBJECT

Subject for email notifications

Default: FORUM

POSTS_PER_PAGE

Number of posts shown per page.

Default: 10

DJANGO_FORUM_APP_FILTER_PROFANE_WORDS

Attribute to filter profane words. Values should be True | False

Default: True

TINYMCE_DEFAULT_CONFIG

Overriding this option you can change the tinymce editor behaviour.

Default:

TINYMCE_DEFAULT_CONFIG = {
    'language': 'en',
    'theme': 'modern',
    'height': 600,
    'plugins': [
        'advlist autolink lists link image charmap print preview anchor',
        'searchreplace visualblocks code fullscreen',
        'insertdatetime media table contextmenu paste',
    ],
    'toolbar': 'styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image media | code preview',
    'menubar': False,
    'media_alt_source': False,
    'media_poster': False,
    'media_dimensions': False,
}

Support

Should you experience any issues do not hesistate to post an issue or contribute in this project pulling requests.

Travis CI status

We use Travis to check that the unit test suite is working against various combinations of Python, Django, etc… Click here for the full report.

Project details


Download files

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

Files for django-forum-app, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size django_forum_app-0.3.tar.gz (23.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page