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
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',
2 matches
Mail list logo