diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-02-07 13:51:24 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-02-07 13:51:24 -0800 |
commit | 56e3457f4776ee5332080c5e890ed5b352cfadeb (patch) | |
tree | 2aa3b2e6d18b9b77edfbb771b011e3a1088b8e9a /python/fatcat_web/routes.py | |
parent | 3edb2bb7ac4e1ba3d9d15957669e2a5bdc8049d3 (diff) | |
download | fatcat-56e3457f4776ee5332080c5e890ed5b352cfadeb.tar.gz fatcat-56e3457f4776ee5332080c5e890ed5b352cfadeb.zip |
auth required for creation; correct edit stub note
Diffstat (limited to 'python/fatcat_web/routes.py')
-rw-r--r-- | python/fatcat_web/routes.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py index 7d9b708f..f9faf328 100644 --- a/python/fatcat_web/routes.py +++ b/python/fatcat_web/routes.py @@ -48,10 +48,12 @@ def container_edit_view(ident): # #return render_template('container_edit.html') @app.route('/container/create', methods=['GET']) +@login_required def container_create_view(): return render_template('container_create.html') @app.route('/container/create', methods=['POST']) +@login_required def container_create(): raise NotImplementedError params = dict() @@ -201,10 +203,12 @@ def release_lookup(): return redirect('/release/{}'.format(resp.ident)) @app.route('/release/create', methods=['GET']) +@login_required def release_create_view(): return render_template('release_create.html') @app.route('/release/create', methods=['POST']) +@login_required def release_create(): raise NotImplementedError params = dict() |