From bbcbfe452b916dcc79c79d2c980b0e57cb275525 Mon Sep 17 00:00:00 2001 From: Yi Hsiao Date: Thu, 23 Aug 2018 17:30:36 -0400 Subject: [PATCH] move static files of admin page of organism to app app --- app/admin.py | 4 ++-- {blast/static/blast => app/static/app}/css/organism-admin.css | 0 .../static/blast => app/static/app}/scripts/organism-admin.js | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {blast/static/blast => app/static/app}/css/organism-admin.css (100%) rename {blast/static/blast => app/static/app}/scripts/organism-admin.js (100%) diff --git a/app/admin.py b/app/admin.py index c92617927..a5fd9acc0 100644 --- a/app/admin.py +++ b/app/admin.py @@ -30,9 +30,9 @@ def short_description(self, obj): class Media: css = { - 'all': ('blast/css/organism-admin.css',) + 'all': ('app/css/organism-admin.css',) } - js = ('blast/scripts/organism-admin.js',) + js = ('app/scripts/organism-admin.js',) admin.site.register(Organism, OrganismAdmin) diff --git a/blast/static/blast/css/organism-admin.css b/app/static/app/css/organism-admin.css similarity index 100% rename from blast/static/blast/css/organism-admin.css rename to app/static/app/css/organism-admin.css diff --git a/blast/static/blast/scripts/organism-admin.js b/app/static/app/scripts/organism-admin.js similarity index 100% rename from blast/static/blast/scripts/organism-admin.js rename to app/static/app/scripts/organism-admin.js