Git Product home page Git Product logo

flask-dashed's People

Contributors

jeanphix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

flask-dashed's Issues

AssertionError with Flask 0.10

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 does not work

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.