A very simple/minimalistic Django Forum app based on yoanisgil's Django simple forum project.
A production example of this forum app courtesy of Game Erauntsia, basque gamer community
- Django >= 1.10.0
- django-photologue >= 3.6
- django-tinymce >= 2.6.0
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')),Ther are some option you could overrite to change the default behaviour of the forum:
FORUM_SUBJECTSubject for email notifications
Default:
FORUMPOSTS_PER_PAGENumber of posts shown per page.
Default:
10DJANGO_FORUM_APP_FILTER_PROFANE_WORDSAttribute to filter profane words. Values should be
True | FalseDefault:
TrueTINYMCE_DEFAULT_CONFIGOverriding 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, }
Should you experience any issues do not hesistate to post an issue or contribute in this project pulling requests.
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.