Django-forum-app
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.10.0
- 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_forum_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.