I am developing a django app that requires many help pages (i.e., several pages, many topics).
I am not quite sure what is the best way to do this.
I did some research and found some possible ways but they are not quite what I am looking for:
flatpages
=> it is better if my help page authors can access a WYSIWYG interface rather than write html files django-wiki
=> not quite suitable because users don't need to contribute to help pagesdjango-CMS
=> seems a bit of an overkillWhat is the conventional way to add help pages to a django app?
Thanks.
Soo Ling
It seems like you need to consider a couple of things:
How to access help
Maybe have a url like url(r'^help/(?P<topic>[-\w]+)/$', HelpView.as_view()),
and have the topic be a slug.
How to organize help
Have a TopicHelp
model that is related to the topic (whatever model that may be). I suspect it may be a OneToMany
(or M2M) relationship, as a help page may be connected to many topics. You could use TinyMCE to give editors wysiwyg capabilities on HelpTopics.
If you're using the Admin, this would be very easy to implement and control.
That's how I'd look at it.