Re: Try to read data from remote database

2016-09-06 Thread Tim Graham
Please take a look at https://docs.djangoproject.com/en/stable/howto/legacy-databases/ On Tuesday, September 6, 2016 at 3:16:29 PM UTC-4, MPY wrote: > > Hi everyone , I am new with Django and I try to connect with external > database to read the data and show in my view. > > Hi create a new ent

Try to read data from remote database

2016-09-06 Thread MPY
Hi everyone , I am new with Django and I try to connect with external database to read the data and show in my view. Hi create a new entry in setting.py file with the new database info that I want connect. Something like this. 'externDB': { 'ENGINE': 'django.db.backends.mysql',