Move admin tables in admin package.

This commit is contained in:
Patrick Jentsch 2019-11-15 12:57:01 +01:00
parent aacfe40bd6
commit 7457a4be94
2 changed files with 1 additions and 1 deletions

View File

@ -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('/')