Merge branch 'master' of ssh://4angle.com/home/edward/git/sourcing

This commit is contained in:
Edward Betts 2017-06-20 19:19:38 +01:00
commit 59b1511e17

View file

@ -265,6 +265,11 @@ def history(username, hashid):
item = get_item(username, hashid)
return render_template('history.html', doc=item)
@bp.route('/<username>/<hashid>/xanaedit')
def xanaedit_item(username, hashid):
obj = get_item(username, hashid)
return render_template('xanaedit.html', doc=obj)
@bp.route('/<username>/<hashid>/edit', methods=['GET', 'POST'])
def edit_item(username, hashid):
obj = get_item(username, hashid)