On 10/12/06, Tool69 <[EMAIL PROTECTED]> wrote: > > Hi, > I've made a little blog app, but i'm not satisfied with django's > free-comment.
You'll find a nice writeup on hacking free-comment here [1]. That article doesn't address your concern exactly, but should familiarize you with the code and give you some ideas of how to proceed. [1]: http://www.b-list.org/weblog/2006/07/16/django-tips-hacking-freecomment > In fact, I would like the user to choose an entry format, > (like in my AdminPanel) : (X)HTML, ReST, Markdown or TexTile. How can I > simply implement this? I'm actually a Django newbie, so don't blame me > if the answer is trivial. First add a field to your model with the choices of formats available. Then, in your template, use if statements to check which format was selected and display the comment with the proper filter. -- ---- Waylan Limberg [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---