Comments (5)
Looks like an issue with the paginator named tuple. I'll take a look.
from flask_jsondash.
What method did you use to start the app up -- via pypi installation + import, or clone from github + run included app?
from flask_jsondash.
Clone, python setup.py install
for dependencies, then python app.py
.
from flask_jsondash.
Ok thanks, I'll have a look. Just by chance, does this happen if you do an install via pypi and then import it into your own app (you'll have to have a python app importing the module, as well as the right template variables set - this repo has examples of that setup at the top level).
I just did a test using the above method and it appears to work fine, so I'm guessing it might have something to do with the local setuptools install.
from flask_jsondash.
Did some testing so far, and the following methods seem to work:
Method 1 - virtualenv + setuptools
git clone https://github.com/christabor/flask_jsondash.git jsondash-test
cd jsondash-test
virtualenv env
source env/bin/activate
python setup.py install
python app.py
then to test:
curl -XGET http://localhost:5002
<a href="/charts">Visit the charts blueprint.</a>%
Method 2 - virtualenv + pypi + local app
mkdir jsondash-test ; cd jsondash-test
virtualenv env
source env/bin/activate
pip install flask-jsondash
(then, copying the example app and templates from a different dir)
cp -r ../flask_jsondash/templates ../flask_jsondash/app.py .
python app.py
then to test:
curl -XGET http://localhost:5002
<a href="/charts">Visit the charts blueprint.</a>%
from flask_jsondash.
Related Issues (20)
- Consider removing d3 specific layouts in favor of vega equivalents
- Consider removing wordcloud in favor of vega equivalent
- missing cytoscape demo json file HOT 3
- Remove quantified code from README.md
- add requests_mock to requirements.txt HOT 1
- Add mermaid.js
- [question]How to plot timeseries data using C3js HOT 11
- example_app$ python3 app.py does not work HOT 5
- Gratipay has closed, should remove from README HOT 1
- create a data source endpoint with dynamic parameters HOT 2
- Make it possible to add a a new chart json by copy-pasting with no guid
- How to specify db password HOT 2
- Remove scrutinizer
- edit_others not working HOT 1
- is there any tutorial how to use this? HOT 3
- support for postgresql HOT 4
- Dash
- pymongo.errors.ServerSelectionTimeoutError pymongo.errors.ServerSelectionTimeoutError: localhost:27017 HOT 1
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Some advice about license compliance
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask_jsondash.