Re: SERVER_NAME vs HTTP_HOST

2007-08-29 Thread Masida
Hi Siddharta, Assuming you're deploying on Apache with mod_python, have you tried setting ServerName in your httpd.conf to someting sensible? Ciao, - Matthias On Aug 29, 11:59 am, Siddhi <[EMAIL PROTECTED]> wrote: > Hi, > > I'm writing a django app that will be used in a LAN environment. The >

Re: Proposal: QuerySet.exists() method

2007-07-14 Thread Masida
Although Oracle doesn't have LIMIT, it does have ROWNUM which basically acts as a counter. So I think you should do: SELECT 1 FROM [table] WHERE [where] AND ROWNUM <= 1; When there are JOINS you probably have to put the original SELECT in a subquery of the ROWNUM <= 1 query. More info about ROWN

Re: Edit inline in newforms-admin branch (ATTN: Joseph Kocherans)

2007-06-09 Thread Masida
I've seen your patch (in fact i'm already test driving it ;-) Will have a look at implementing it for the admin interface and will try to make a patch. Thanks Russ! Greetings, - Matthias On Jun 9, 1:39 am, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 6/9

Re: Edit inline in newforms-admin branch (ATTN: Joseph Kocherans)

2007-06-08 Thread Masida
Is anyone working on FileField/ImageField support for the admin in newforms-admin? This isn't currently working (even with the latest patch from ticket #3297). If nobody is working on it right now, I'll have a look at it and come up with a patch... (I'm actually using the newforms-admin branch for

Re: Oracle inspectdb

2007-03-25 Thread Masida
Hi Ben, Are you aware of the Boulder Oracle Sprint branch? http://code.djangoproject.com/browser/django/branches/boulder-oracle-sprint And more specifically, about the support for inspectdb it already has? http://code.djangoproject.com/browser/django/branches/boulder-oracle-sprint/django/db/back

Re: ORACLE - column at array pos 0 fetched with error: 1406

2007-03-23 Thread Masida
Hi Tristan, Unfortunately, cx_Oracle - and therefore Django/Oracle - doesn't support UTF-8 yet. What works for setting your environment to Latin1/ISO8859 (with os.environ['NLS_LANG'] = 'American_America.WE8ISO8859P1'). If you make sure you're whole website uses ISO8859 then Oracle will translate

Re: ORACLE - column at array pos 0 fetched with error: 1406

2007-03-23 Thread Masida
Hi Tristan, Unfortunately, cx_Oracle - and therefore Django/Oracle - doesn't support UTF-8 yet. What works for setting your environment to Latin1/ISO8859 (with os.environ['NLS_LANG'] = 'American_America.WE8ISO8859P1'). If you make sure you're whole website uses ISO8859 then Oracle will translate