##// END OF EJS Templates
Parse text with <p> tag. Use single newline after replying a post. Removed...
Parse text with <p> tag. Use single newline after replying a post. Removed striped form error message background

File last commit:

r690:a8dffe47 1.8-dev
r744:3db85d22 2.0-dev
Show More
static.py
14 lines | 380 B | text/x-python | PythonLexer
from django.shortcuts import render
from boards.views.base import BaseBoardView
class StaticPageView(BaseBoardView):
def get(self, request, name):
"""
Show a static page that needs only tags list and a CSS
"""
context = self.get_context_data(request=request)
return render(request, 'boards/staticpages/' + name + '.html', context)