Open udayapraveen opened 4 years ago
Disclaimer: this project is not actively maintained for several years now, and the last Django version that has been tested was 1.11.
Anyway, I understand that you got the service running with the default settings and the SQLite database. However, I don't know what these lines do or are supposed to do:
client = MongoClient('localhost', 27017)
DATABASE = client.DS_CENTRAL_Q
DATABASE
is not used by Django, as far as I know, so that must be something you do to connect to MongoDB while still using SQLite as the DB. The rest of the configuration seems to be the default, so I guess something related to MongoDB is causing the problem.
Not knowing anything about MongoDB, I would guess that the integration with Django is not working as intended. Maybe you need something like djongo?
(I edited the formatting of your question to be more readable and removed the secrete key)
Hi Martin,
When I create a new project and follow the steps that you have described your document to start the Django project as the windows process is working fine. But the same when I apply to my project that has MongoDB connectivity in the settings file it fails to start giving the following error log.
When ran with net start service name
When ran with python service.py debug
I have done the service.py install/update but still, the issue is same
settings.py file:
service.py
service.ini
service.log
Thanks & regards, Mayur Kumar Sharma