Re: models i18n

2013-03-07 Thread Johan ter Beest
you meant? Johan > > Best, > > Roberto > > On 03/05/2013 10:39 PM, Johan ter Beest wrote: >> >> On Mar 5, 2013, at 10:31 PM, Roberto López López > <mailto:roberto.lo...@uni.no>> wrote: >> >>> Hi guys, >>> >>> I am developin

Re: Setting Django to not quote table names

2013-03-05 Thread Johan ter Beest
Not an Oracle expert at all but maybe this SO answer explains some things?: http://stackoverflow.com/questions/563090/oracle-what-exactly-do-quotation-marks-around-the-table-name-do On Mar 5, 2013, at 11:12 PM, Shawn Milochik wrote: > This works for me in Postgres as well. This script: > > fr

Re: models i18n

2013-03-05 Thread Johan ter Beest
On Mar 5, 2013, at 10:31 PM, Roberto López López wrote: > Hi guys, > > I am developing a django application and between my requirements there > is being able to set the model fields into different languages. > > For example: > > class Employee(models.Model): >position = models.CharField()

Re: how to evaluate "cities/countries of the world" static table for an application.

2013-02-25 Thread Johan ter Beest
On Feb 25, 2013, at 8:05 AM, Fatih Tiryakioglu wrote: > Hello all, > > Is there any shortcut for evaluating such a database table, or should I > collect myself all this information. Please help. If you prefer a package > which one do you prefer, or all of them is workable. This should give y

Re: How do I join two existing tables?

2013-02-24 Thread Johan ter Beest
You're welcome. You probably also want to make sure that in the class Meta options, you've set managed=False Otherwise you could accidentally change the database definitions. All the information is here: https://docs.djangoproject.com/en/dev/howto/legacy-databases/ On Feb 24, 2013, at 5:05 PM,

Re: How do I join two existing tables?

2013-02-24 Thread Johan ter Beest
On Feb 24, 2013, at 4:00 PM, frocco wrote: > Hi, > > I have to interface with an existing php app and the key field is character. > > paginator = > Paginator(Shopinventory.objects.exclude(list_price=0).filter(sizenum__contains=search), > 20) > I want to add to the above and pull the rela