From cfa4fa68f2a8b157b4287e0181160f99ccf37d99 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 6 Mar 2023 15:03:33 +0100 Subject: [PATCH] Remove dev route --- app/corpora/routes.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/corpora/routes.py b/app/corpora/routes.py index a487e834..274eebfb 100644 --- a/app/corpora/routes.py +++ b/app/corpora/routes.py @@ -31,15 +31,6 @@ from .forms import ( UpdateCorpusFileForm ) -@bp.route('/fake-add') -@login_required -def fake_add(): - pjentsch = User.query.filter_by(username='pjentsch').first() - alice = Corpus.query.filter_by(title='Alice in Wonderland').first() - pjentsch.follow_corpus(alice) - db.session.commit() - return '' - @bp.route('//is_public', methods=['POST']) @login_required