tradingview / saveload_backend

97 stars 78 forks source link

error bringing up Django front page #1

Closed rodaddy closed 10 years ago

rodaddy commented 10 years ago

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

drbeep commented 10 years ago

It's just a back-end so it has no webpages and so on. Just try to launch it (as you already did) and set up your Charting Library to store data @ this backend.

The API it implements is not a public one but we'll consider making it open. You may check whether your backend works properly or not by trying to query /1.0/charts?client=0&user=0. You should get an empty array.

rodaddy commented 10 years ago

Got it up (thank you), how do I add quotes messages to script/DB?

drbeep commented 10 years ago

What kind of messages do you mean ?

rodaddy commented 10 years ago

any, bar quotes, quote updates, anything to make it not a blank db. So, i can query that page to make charts. I'm sorry, but I am new to TV.

drbeep commented 10 years ago

This database is intended to store charts created by your users. It cant' store anything else. To put something into your DB, connect Charting Library and push Save button atop of the chart.

rodaddy commented 10 years ago

got it, it's not meant to be a place to store data, but the charts created from data. Yes/No?

drbeep commented 10 years ago

Yes.

drbeep commented 10 years ago

Think of it like a kinda file system storing your files. In our case, file is chart saved by user: it contains a list of indicators created by user, his drawings, theme settings e.t.c