Code Monkey home page Code Monkey logo

saveload_backend's Issues

https-production

in production ı have this issue about https

"This request has been blocked; the content must be served over HTTPS."

Receiving Bad Request (400)

I have deployed this to Heroku server and every step went smoothly. But for every request I am getting Bad Request(400). I am using Gunicorn with the following line on my Proc file web: gunicorn charting_library_charts.wsgi --log-file - . Is there anything I need to do besides in the documentation.

help after step8 ?

Hello,
If anyone made this work, I would really appreciate some help. I am running a centos8 device that holds both the chartdata and this saveload but I still cannot move forward. I am getting:

GET https://MY_SERVER_IP:8000/1.1/study_templates?client=tradingview.com&user=public_user_id net::ERR_CONNECTION_REFUSED

VM953:1 GET https://MY_SERVER_IP:8000/1.1/study_templates?client=tradingview.com&user=public_user_id net::ERR_CONNECTION_REFUSED
(anonymous) @ VM953:1
VM953:1 Uncaught (in promise) TypeError: Failed to fetch
at :1:1
(anonymous) @ VM953:1

any help is greatly appreciated.

Thanks in advance.

User as foreign key and csrf_exempt in urls.

Our project implemented the way this project was set up and it worked well but I just wanted to know what is the reasoning behind not using user as a foreign key and csrf_exempt in urls?

error bringing up Django front page

I believe I set up the Django project correctly, but when I go to localhost:8000 i get the following error:

Using the URLconf defined in charting_library_charts.urls, Django tried these URL patterns, in this order:
^1.0/
The current URL, , didn't match any of these.

Any help would be appreciated. This seems like a great way to put up some static data for testing or for small amounts of data

Cheers,

Rico

Save/Load Layout Charts in PostgresQL

I would like to know how to save / read the layouts on my server
I have postgres installed I would like to know how to use
["Use_localstorage_for_settings"],
Charts_storage_url
Client_id
User_id

I followed the tutorial that imports the tables into my empty database

03 tables have been created, django_migrations
Model_chart
Model_studytemplate

I could not evolve

Somebody help me, please

Docker Image

Hi
It's very good to have a docker image for this api

404 on POST/GET

Hi, I did everything as instructed, and things went smoothly. It also showed the Save cloud button on the chart (after I configured charts_storage_url properly). When I press save, the chart is calling the backend, but unfortunately, all the requests are 404.

Screenshot: https://prnt.sc/rypa9u

[13/Apr/2020 21:00:02] "POST /1.16/charts?client=tradingview.com&user=public_user_id HTTP/1.1" 404 77
[13/Apr/2020 21:00:22] "POST /1.16/charts?client=tradingview.com&user=public_user_id HTTP/1.1" 404 77
[13/Apr/2020 21:00:34] "GET /1.16/charts?client=tradingview.com&user=public_user_id HTTP/1.1" 404 77

I am on charts_storage_api_version: 1.16, not sure if this changes anything.

Thanks

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.