On Fri, Jul 31, 2009 at 8:53 AM, Fleg wrote:
>
> Yes, I saw this case and that's what I need...
> The point is that the proposed fix implies to patch the django core
> which I would prefer to avoid.
> The other solution need to add as many lines of code as you have
> associated objects (and for a
Yes, I saw this case and that's what I need...
The point is that the proposed fix implies to patch the django core
which I would prefer to avoid.
The other solution need to add as many lines of code as you have
associated objects (and for all objects)... which is quite heavy (if
you add a foreign
On Fri, Jul 31, 2009 at 5:51 AM, Fleg wrote:
>
> Thanks for your suggestion, but I cannot... I need to do that from a
> method of the model itself.
> Basically, I need to use some stored procedures to modify datas in the
> database (and these stored procs can also modify some other tables),
> thu
Thanks for your suggestion, but I cannot... I need to do that from a
method of the model itself.
Basically, I need to use some stored procedures to modify datas in the
database (and these stored procs can also modify some other tables),
thus I need to reload after calling these procedures in order
On Thu, Jul 30, 2009 at 9:10 AM, Fleg wrote:
>
> Nobody knows ?
>
Simply re-get the instance from the DB?
Karen
>
> On Jul 29, 6:12 pm, Fleg wrote:
> > Hi,
> > I have a model mapping tables in a database with several foreign keys.
> >
> > class Scheduler(models.Model):
> > id_schedu
Nobody knows ?
On Jul 29, 6:12 pm, Fleg wrote:
> Hi,
> I have a model mapping tables in a database with several foreign keys.
>
> class Scheduler(models.Model):
> id_schedule = models.AutoField(primary_key=True)
> id_parent = models.ForeignKey
> ("Scheduler",db_column='id_parent'
Hi,
I have a model mapping tables in a database with several foreign keys.
class Scheduler(models.Model):
id_schedule = models.AutoField(primary_key=True)
id_parent = models.ForeignKey
("Scheduler",db_column='id_parent',to_field='id_schedule')
id_object_type = models.Forei
7 matches
Mail list logo