Re: Connecting to external databases from Views.py

2012-10-29 Thread Gregg Branquinho
ercase. class Meta(ModelReadOnly.Meta): db_table = u'APP_LOG' On Monday, 29 October 2012 11:41:26 UTC+2, Tom Evans wrote: > > On Mon, Oct 29, 2012 at 8:44 AM, Gregg Branquinho > > > wrote: > > from django.db import models > > > > >

Re: Connecting to external databases from Views.py

2012-10-29 Thread Gregg Branquinho
> Field name made lowercase. > class Meta: > db_table = u'APP_LOG' > > > > Thanks should take car of the db structure and the save, now I need to > look at the model manager to circumvent the update.. ? > > > > > > > > > > &

Re: Connecting to external databases from Views.py

2012-10-29 Thread Gregg Branquinho
On Thursday, 25 October 2012 08:59:53 UTC+2, Russell Keith-Magee wrote: > > > On Thu, Oct 25, 2012 at 12:43 PM, Gregg Branquinho > > > wrote: > >> Hi Russel, >> >> First off thank you for the suggestion, I am going to give it a whirl and >> see how it

Re: Connecting to external databases from Views.py

2012-10-24 Thread Gregg Branquinho
You'll need to write some Django model wrappers for the data in the > 'other' database -- inspectdb can help with that -- but once you've done > that, you'll be able to query the 'other' database as if it were a set of > normal Django models. > > Yours,

Connecting to external databases from Views.py

2012-10-24 Thread Gregg Branquinho
Hi guys I am new to django and have built my first application that is being used to track and compare pricelists from vendors and it is working awesomly, I have had a request for a new feature and I am alittle boggled at to how I am going to do it.. Basically I wasnt to create a view which ret