From 7457a4be94366cf52a4927b5810698d1bb71bce6 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Fri, 15 Nov 2019 12:57:01 +0100 Subject: [PATCH] Move admin tables in admin package. --- app/{ => admin}/tables.py | 0 app/admin/views.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename app/{ => admin}/tables.py (100%) diff --git a/app/tables.py b/app/admin/tables.py similarity index 100% rename from app/tables.py rename to app/admin/tables.py diff --git a/app/admin/views.py b/app/admin/views.py index 9baaab8f..0f182c38 100644 --- a/app/admin/views.py +++ b/app/admin/views.py @@ -1,13 +1,13 @@ from app import db from app.decorators import admin_required from app.models import Role, User -from app.tables import AdminUserItem, AdminUserTable from app.profile.background_functions import delete_user_ from flask import current_app, flash, redirect, render_template, url_for from flask_login import login_required from threading import Thread from . import admin from .forms import EditProfileAdminForm +from .tables import AdminUserItem, AdminUserTable @admin.route('/')