mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
Move admin tables in admin package.
This commit is contained in:
parent
aacfe40bd6
commit
7457a4be94
@ -1,13 +1,13 @@
|
|||||||
from app import db
|
from app import db
|
||||||
from app.decorators import admin_required
|
from app.decorators import admin_required
|
||||||
from app.models import Role, User
|
from app.models import Role, User
|
||||||
from app.tables import AdminUserItem, AdminUserTable
|
|
||||||
from app.profile.background_functions import delete_user_
|
from app.profile.background_functions import delete_user_
|
||||||
from flask import current_app, flash, redirect, render_template, url_for
|
from flask import current_app, flash, redirect, render_template, url_for
|
||||||
from flask_login import login_required
|
from flask_login import login_required
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
from . import admin
|
from . import admin
|
||||||
from .forms import EditProfileAdminForm
|
from .forms import EditProfileAdminForm
|
||||||
|
from .tables import AdminUserItem, AdminUserTable
|
||||||
|
|
||||||
|
|
||||||
@admin.route('/')
|
@admin.route('/')
|
||||||
|
Loading…
Reference in New Issue
Block a user