Re: Django App - Accessing Remote MySQL Database

2013-10-03 Thread Liam Griffin
I have a MySQL server with hundreds of dbs... is there a way to be able to connect to all these without breaking DRY principles? On Friday, 2 August 2013 14:26:23 UTC+1, Christian Schmitt wrote: > > You could use django's inbuild ORM: > https://docs.djangoproject.com/en/dev/topics/db/multi-db/ >

Re: Django App - Accessing Remote MySQL Database

2013-08-02 Thread Ji Park
Thanks! I've just started really getting into Django, I had no idea there was a way to connect multiple databases and still be able to use django's ORM to control them. On Friday, August 2, 2013 6:26:23 AM UTC-7, Christian Schmitt wrote: > > You could use django's inbuild ORM: > https://docs.dja

Re: Django App - Accessing Remote MySQL Database

2013-08-02 Thread Ji Park
I was actually thinking about updating local database with raw data, but now that you mention it, I think I'd rather not. On Friday, August 2, 2013 5:58:38 AM UTC-7, Branko Majic wrote: > > On Thu, 1 Aug 2013 17:50:35 -0700 (PDT) > Ji Park > wrote: > > > Hello, I'm trying to make an app that ca

Re: Django App - Accessing Remote MySQL Database

2013-08-02 Thread Christian Schmitt
You could use django's inbuild ORM: https://docs.djangoproject.com/en/dev/topics/db/multi-db/ And just copy the database. Am Freitag, 2. August 2013 02:50:35 UTC+2 schrieb Ji Park: > > Hello, I'm trying to make an app that can periodically access a remote > mysql database. > > This app will query

Re: Django App - Accessing Remote MySQL Database

2013-08-02 Thread Branko Majic
On Thu, 1 Aug 2013 17:50:35 -0700 (PDT) Ji Park wrote: > Hello, I'm trying to make an app that can periodically access a remote > mysql database. > > This app will query the remote database and copy some data to the local > postgresql database. > > So far I know that celery can be used to sch

Django App - Accessing Remote MySQL Database

2013-08-01 Thread Ji Park
Hello, I'm trying to make an app that can periodically access a remote mysql database. This app will query the remote database and copy some data to the local postgresql database. So far I know that celery can be used to schedule periodic tasks, but I'm not sure what to do about querying the r