Dears,

First I thx for ur attentions... and I novete in Django... but a have a 
question...

Second:
I have this in my model:

class Actionplan(models.Model):

    date_start_preview = models.DateField('Data Prevista Inicial', 
blank=True, null=True)
    date_end_preview = models.DateField('Data Prevista Final', blank=True, 
null=True)
    date_start = models.DateField('Data Real Inicial', blank=True, 
null=True)
    date_end = models.DateField('Data Real Final', blank=True, null=True)

class Actions(models.Model):

    date_start_preview = models.DateField('Data Prevista Inicial', 
blank=True)
    date_end_preview = models.DateField('Data Prevista Final', blank=True)
    date_start = models.DateField('Data Real Inicial', blank=True)
    date_end = models.DateField('Data Real Final', blank=True)

    actionplan = models.ForeignKey(Actionplan, verbose_name='Ações', 
related_name='actions')


-----------------------
and I want in admin do:

When the user create a action, the dates in actionplans update with the sum 
dates...


thx a lot...

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2309e9e6-8289-4ea6-865e-9095bddb9fe8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to