[melbourne-pug] Configuring Django 1.8 on Ubuntu 14.04 to read from an existing MSSQL DB

2016-06-05 Thread Javier Candeira
Hi everyone, For a job I've been asked to read some data from an external MSSQL database, but I can't figure out how to configure a MSSQL driver on Django 1.8 site on Ubuntu 14.04. Clarifications: - We can access the MSSQL database using DBeaver, so not a credentials issue. - We are reading from

Re: [melbourne-pug] Configuring Django 1.8 on Ubuntu 14.04 to read from an existing MSSQL DB

2016-06-05 Thread Ben Finney
Javier Candeira writes: > For a job I've been asked to read some data from an external MSSQL database, > but I can't figure out how to configure a MSSQL driver on Django 1.8 site on > Ubuntu 14.04. Have you chosen a library for Django to use that implements the Django database back-end? To my k

Re: [melbourne-pug] Configuring Django 1.8 on Ubuntu 14.04 to read from an existing MSSQL DB

2016-06-05 Thread Mike Dewhirst
On 6/06/2016 2:45 PM, Javier Candeira wrote: Hi everyone, For a job I've been asked to read some data from an external MSSQL database, but I can't figure out how to configure a MSSQL driver on Django 1.8 site on Ubuntu 14.04. Maybe https://django-mssql.readthedocs.io/en/latest/ Then in 1.8 yo

Re: [melbourne-pug] Configuring Django 1.8 on Ubuntu 14.04 to read from an existing MSSQL DB

2016-06-06 Thread Javier Candeira
On Mon, Jun 6, 2016, at 03:02 PM, Ben Finney wrote: > Javier Candeira writes: > Have you chosen a library for Django to use that implements the Django > database back-end? > Perhaps you are using https://pypi.python.org/pypi/django-mssql>? I've tried django-mssql and django-pyodbc, after followi

Re: [melbourne-pug] Configuring Django 1.8 on Ubuntu 14.04 to read from an existing MSSQL DB

2016-06-06 Thread Anthony Briggs
Javier, What do the logs/error messages say? ;) If, for some reason, you can't get access to the logs, perhaps switching DEBUG on and checking what queries are being sent might shed some light. (ie. one or more of the things in http://stackoverflow.com/questions/971667/django-orm-how-to-view-or-l

Re: [melbourne-pug] Configuring Django 1.8 on Ubuntu 14.04 to read from an existing MSSQL DB

2016-06-06 Thread Joe Healy
- Original Message - > From: "Javier Candeira" > To: melbourne-pug@python.org > Sent: Tuesday, 7 June, 2016 10:02:19 AM > Subject: Re: [melbourne-pug] Configuring Django 1.8 on Ubuntu 14.04 to read > from an existing MSSQL DB > The reason I've asked