Commit 90c8b1bc authored by Serge S. Koval's avatar Serge S. Koval

Merge pull request #40 from dmedvinsky/patch-1

Fix missing FileAdmin class initialization
parents baee2375 9933e6e3
...@@ -278,7 +278,7 @@ Here is simple example:: ...@@ -278,7 +278,7 @@ Here is simple example::
admin = Admin(app) admin = Admin(app)
path = op.join(op.dirname(__file__), 'static') path = op.join(op.dirname(__file__), 'static')
admin.add_view(path, '/static/', name='Static Files') admin.add_view(FileAdmin(path, '/static/', name='Static Files'))
Sample screenshot: Sample screenshot:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment