start user page and stub more endpoints

This commit is contained in:
2026-04-19 10:03:03 +03:00
parent f798bb5d7d
commit 9682295dae
3 changed files with 135 additions and 6 deletions

View File

@@ -79,3 +79,15 @@ def sticky_thread(thread_id):
abort(404)
thread.update({'is_stickied': request.form.get('sticky')})
return redirect(url_for('threads.thread', slug=thread.slug))
@bp.post('/users/<int:user_id>/make-guest/')
def make_user_guest(user_id):
return 'stub'
@bp.post('/users/<int:user_id>/make-user/')
def make_user_regular(user_id):
return 'stub'
@bp.post('/users/<int:user_id>/make-mod/')
def make_user_mod(user_id):
return 'stub'