Add RDF store as database

2008-04-03 Thread Roland Hedberg
Hi! I'd like to add the possibility to use a RDF store as database to Django. Where should I start ? I've made a brief walk-through the code and I'm not absolutely sure about the right place to enter my changes and I'd like to be that before attempting anything. -- Roland --~--~-~--

Re: Add RDF store as database

2008-05-08 Thread Roland Hedberg
queryset-refactor branch has > some changes that yould make a non-relational db backend a bit easier. > Cheers, > Ben > > On 03/04/2008, *Karen Tracey* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > On Thu, Apr 3, 2008 at 9:00 AM,

Allowing no value for a DateField

2007-03-12 Thread Roland Hedberg
Hi! I have designed a model which contains among other things a couple of DateFields. Some, actually one, of these must have a value but the other may not. So, I tried to use the construct: done_planned = models.DateField(blank=True) But that doesn't work, because I get a exception with the e

Re: Allowing no value for a DateField

2007-03-12 Thread Roland Hedberg
Malcolm Tredinnick wrote: > On Mon, 2007-03-12 at 12:14 +0100, Roland Hedberg wrote: >> Hi! >> >> I have designed a model which contains among other things a couple of >> DateFields. >> >> Some, actually one, of these must have a value but the other may not.

models.ForeignKey problem

2007-03-14 Thread Roland Hedberg
Hi again, I'm trying to model a software project So I have the following models (slightly abreviated): class Project(models.Model): name = models.CharField(maxlength=80) class Software(models.Model): name = models.CharField(maxlength=80) version = models.CommaSeparatedIntegerField(

Re: models.ForeignKey problem

2007-03-14 Thread Roland Hedberg
Hi Rubic, Rubic wrote: > Roland, > > The error message isn't the most helpful. ;-) I'll second that ! > I had a similar problem back in January and tracked it > down to ticket #2536. My workaround was changing > the name of the ForeignKey attribute -- in your case > 'project' -- to another n

Re: models.ForeignKey problem

2007-03-15 Thread Roland Hedberg
Malcolm Tredinnick wrote: > On Wed, 2007-03-14 at 21:16 +0100, Roland Hedberg wrote: >> Hi Rubic, >> >> Rubic wrote: >>> Roland, >>> >>> The error message isn't the most helpful. ;-) >> I'll second that ! >> >>> I had