jeanphix / flask-dashed Goto Github PK
View Code? Open in Web Editor NEWProvides simple but efficient admin UI.
Home Page: http://jeanphix.me/Flask-Dashed
Provides simple but efficient admin UI.
Home Page: http://jeanphix.me/Flask-Dashed
http://www.isitdownrightnow.com/jeanphix.me.html
Is there anywhere else i can found docs?
Flask 0.10 requires the same function to handle endpoints with the same name.
This conflicts with Flask-Dashed
where both '/'
and '/page/<page>'
are named list
in ObjectAdminModule.default_rules
.
File "/Users/philip/.virtualenvs/flask_app/lib/python2.7/site-packages/flask_dashed/admin.py", line 136, in register_module
title=title, parent=parent)
File "/Users/philip/.virtualenvs/flask_app/lib/python2.7/site-packages/flask_dashed/admin.py", line 146, in _add_node
title=title, parent=parent)
File "/Users/philip/.virtualenvs/flask_app/lib/python2.7/site-packages/flask_dashed/admin.py", line 192, in __init__
self._register_rules()
File "/Users/philip/.virtualenvs/flask_app/lib/python2.7/site-packages/flask_dashed/admin.py", line 222, in _register_rules
self.add_url_rule(rule, endpoint, view_func)
File "/Users/philip/.virtualenvs/flask_app/lib/python2.7/site-packages/flask_dashed/admin.py", line 212, in add_url_rule
self.admin.app.add_url_rule(rule, full_endpoint, view_func, **options)
File "/Users/philip/.virtualenvs/flask_app/lib/python2.7/site-packages/flask/app.py", line 62, in wrapper_func
return f(self, *args, **kwargs)
File "/Users/philip/.virtualenvs/flask_app/lib/python2.7/site-packages/flask/app.py", line 986, in add_url_rule
'existing endpoint function: %s' % endpoint)
AssertionError: View function mapping is overwriting an existing endpoint function: admin.countries_list
Renaming the second URL endpoint to something unique, e.g. plist
or listpage
, solves this error:.
pip install fails:
/usr/local/var/www/myApp $ pip install Flask-Dashed
Downloading/unpacking Flask-Dashed
Could not find a version that satisfies the requirement Flask-Dashed (from versions: 0.1b, 0.1b2, 0.1a)
Cleaning up...
No distributions matching the version for Flask-Dashed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.