django on jython: using derby as a backend

2008-01-15 Thread Tristan King
Hi all, I spent a bit of time today looking at using derby (http://db.apache.org/derby ) as a backend for django on jython. After spending a few hours of digging around in code i realised i know far too little about databases to write the backend myself. Has anyone else considered this? I s

Re: [Jython-dev] django on jython (new version)?

2007-09-23 Thread Tristan King
> class Poll(Model): > pass > > However, that code complains about the lack of __unicode__ under > CPython or Jython with your changes in place, so I must be missing > something. > > Charlie > > On 9/21/07, Tristan King <[EMAIL PROTECTED]> wrote: > > Ok I&

Re: django on jython (new version)?

2007-09-22 Thread Tristan King
vac] public PyObject __mod__(PyObject other) { [javac] ^ I am obviously missing something. any ideas? On Fri, 2007-09-21 at 11:22 -0400, Leo Soto M. wrote: > On 9/21/07, Tristan King <[EMAIL PROTECTED]> wrote: > > Ok I've been working on the problem quoted

Re: django on jython (new version)?

2007-09-21 Thread Tristan King
{ exposed___init__(PyObject self,PyBuiltinFunction.Info info) { My question is. Why, if in CPython object.__unicode__ doesn't exist, why does it in jython? On 20/09/2007, at 7:30 PM, Tristan King wrote: I've been working on getting the django tutorial to work, and got up

Re: django on jython (new version)?

2007-09-20 Thread Tristan King
String code = obj.toString(); +String code = obj.toString().toLowerCase(); if(code.length() != 1) { throw Py.ValueError("typecode must be in [zcbhilfd]"); } i also applied the jython patch to fix the __module__ problems. and that

Re: django on jython (new version)?

2007-09-12 Thread Tristan King
Hi All, I've only just signed up to this group so i'm hoping my Re: subject links into the original chat about this. Because i love the ease of development that django offers, i've been moving bits of django code to get an autoreloading jython service running. After finding a few other blogs fo