bgneal@127: """
bgneal@127: Views for the core application. These are mainly shared, common views
bgneal@127: used by multiple applications.
bgneal@127: """
bgneal@127: from django.shortcuts import render_to_response
bgneal@127: from django.template import RequestContext
bgneal@127: from django.contrib.auth.decorators import login_required
bgneal@127: from django.views.decorators.http import require_GET
bgneal@127: 
bgneal@127: @login_required
bgneal@127: @require_GET
bgneal@127: def markdown_help(request):
bgneal@127:     """
bgneal@127:     This view provides the Markdown help cheat sheet. It is expected
bgneal@127:     to be called via AJAX.
bgneal@127:     """
bgneal@127:     return render_to_response('core/markdown_help.html')