From 98eb3ca7537fb5781d995bdcd61a567bd898e549 Mon Sep 17 00:00:00 2001 From: Bruno Rocha Date: Sat, 20 Jul 2013 23:20:30 -0300 Subject: [PATCH] commented fields/fields_order due to a bug in SyrusAkbary/Flask-SuperAdmin#89 --- quokka/__init__.py | 2 +- quokka/modules/posts/admin.py | 6 +++--- quokka/static/img/logo.png | Bin 0 -> 8350 bytes 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 quokka/static/img/logo.png diff --git a/quokka/__init__.py b/quokka/__init__.py index 0cf72c9bf..6002b6566 100644 --- a/quokka/__init__.py +++ b/quokka/__init__.py @@ -55,7 +55,7 @@ def create_api(config=None, **settings): def create_celery_app(app=None): from celery import Celery - app = app or create_app('quokka', os.path.dirname(__file__)) + app = app or create_app() celery = Celery(__name__, broker=app.config['CELERY_BROKER_URL']) celery.conf.update(app.config) TaskBase = celery.Task diff --git a/quokka/modules/posts/admin.py b/quokka/modules/posts/admin.py index d2fafd65f..c0c1daaf6 100644 --- a/quokka/modules/posts/admin.py +++ b/quokka/modules/posts/admin.py @@ -30,10 +30,10 @@ class PostAdmin(Roled, ModelAdmin): list_per_page = 20 exclude = ['created_at', 'created_by', 'updated_at', 'last_updated_by'] only = None - fields = None + # fields = None readonly_fields = [] - fields_order = ['title', 'slug', 'channel', 'channels', 'summary', - 'body', 'published', 'comments'] + # fields = ['title', 'slug', 'channel', 'channels', 'summary', 'body', + # 'published', 'comments'] form = None can_edit = True can_create = True diff --git a/quokka/static/img/logo.png b/quokka/static/img/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..9addb2ea8a35082a0e5dbea6c08850010e045edf GIT binary patch literal 8350 zcmW++1yoeu*L?#+mvpyugUAo50YN&X8ziN>Ye+#5kQ`DFQ97i1Xha%@?hu5bQ}Ubt zx8Az%u6JLobI-eHpR@P6aatOR1h_P~000muE6Ho4`g&9o#KuIOn~_@gs1DOgRZ$*z z`rlE|@go&Ag5$1aQKIuET&UNf{jyn#A*2sH$+FKc zMT1s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