rokj / bitcoin_dealer

Bitcoin dealer
MIT License
134 stars 36 forks source link

help, about bitcoin_dealer.settings #2

Open kcinzgg opened 7 years ago

kcinzgg commented 7 years ago

Hello, rokj, There is some error about "ImportError: No module named bitcoin_dealer.settings" when i run python manage.py syncdb. where i can get this file, or generate this file.

ztomaz commented 7 years ago

This is probably because this bitcoin dealer is running on old Django version where settings were defined in initial folder. You can create bitcoin_dealer folder and move settings file into that folder (in that case you should also move urls.py there and create wsgi.py - see official Django documentation), or you can run python manage.py syncdb --settings=settings (actually due to newer version of Django, python manage.py migrate --setings=settings)

ztomaz commented 7 years ago

And also this project might be obsolete, since Bitstamp included stop orders to their functionality https://www.bitstamp.net/faq/#stop