Remove dev route

This commit is contained in:
Patrick Jentsch 2023-03-06 15:03:33 +01:00
parent b98e30022e
commit cfa4fa68f2

View File

@ -31,15 +31,6 @@ from .forms import (
UpdateCorpusFileForm 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('/<hashid:corpus_id>/is_public', methods=['POST']) @bp.route('/<hashid:corpus_id>/is_public', methods=['POST'])
@login_required @login_required