From f67dbf8b778eb6d7528dd3aaec03d6440478f26d Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 10 Jan 2016 20:22:13 +0100 Subject: Remove admin interface The admin interface from peewee could not be used with sqlalchemy and flask-admin is not available as debian package, so we drop the admin interface. --- admin.py | 13 ------------- admin/static | 1 - templates/layout.html | 4 ---- 3 files changed, 18 deletions(-) delete mode 100644 admin.py delete mode 120000 admin/static diff --git a/admin.py b/admin.py deleted file mode 100644 index 1344546..0000000 --- a/admin.py +++ /dev/null @@ -1,13 +0,0 @@ -from flask_peewee.admin import Admin -from app import app -from auth import auth -from models import User, Group, Member, Pad, Session - -admin = Admin(app, auth) -auth.register_admin(admin) -admin.register(User) -admin.register(Group) -admin.register(Member) -admin.register(Pad) -admin.register(Session) -admin.setup() diff --git a/admin/static b/admin/static deleted file mode 120000 index 72e6e47..0000000 --- a/admin/static +++ /dev/null @@ -1 +0,0 @@ -/home/pad/.virtualenvs/padlite-teams/lib/python2.7/site-packages/flask_peewee/static \ No newline at end of file diff --git a/templates/layout.html b/templates/layout.html index 4ba5c4a..14b3a14 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -55,10 +55,6 @@