app/soc/views/site/docs/edit.py
changeset 247 4997b54b0400
parent 237 d360162714b6
child 251 8f23804302d0
equal deleted inserted replaced
246:5d2df032e19e 247:4997b54b0400
    64     # TODO(tlarsen): combine path and link_name and check for uniqueness
    64     # TODO(tlarsen): combine path and link_name and check for uniqueness
    65     return link_name
    65     return link_name
    66 
    66 
    67 
    67 
    68 DEF_SITE_DOCS_EDIT_TMPL = 'soc/site/docs/edit.html'
    68 DEF_SITE_DOCS_EDIT_TMPL = 'soc/site/docs/edit.html'
    69 DEF_CREATE_NEW_DOC_MSG = ' You can create a new user by visiting the' \
    69 DEF_CREATE_NEW_DOC_MSG = ' You can create a new document by visiting the' \
    70                          ' <a href="/site/docs/edit">Create ' \
    70                          ' <a href="/site/docs/edit">Create ' \
    71                          'a New Document</a> page.'
    71                          'a New Document</a> page.'
    72 
    72 
    73 def edit(request, partial_path=None, linkname=None,
    73 def edit(request, partial_path=None, linkname=None,
    74          template=DEF_SITE_DOCS_EDIT_TMPL):
    74          template=DEF_SITE_DOCS_EDIT_TMPL):