from forum.badges import ALL_BADGES
from forum import settings
from forum.utils.mail import send_email
+from forum.settings.settingsmarkdown import *
+
import re
def favicon(request):
return render_to_response('about.html', {'text': settings.ABOUT_PAGE_TEXT.value }, context_instance=RequestContext(request))
def faq(request):
- return render_to_response('faq.html', {'text': settings.FAQ_PAGE_TEXT.value }, context_instance=RequestContext(request))
+ md = markdown.Markdown([SettingsExtension({})])
+ text = md.convert(settings.FAQ_PAGE_TEXT.value)
+
+ return render_to_response('faq.html', {'text' : text}, context_instance=RequestContext(request))
def feedback(request):
if request.method == "POST":