hi all, I'm trying to use django generic views for my models ... the problem is that I don't find the method to update a ForeingKey() field in a form:
class Conferma(models.Model): fk_prev = models.ForeignKey(Previsione, verbose_name="previsione", limit_choices_to=(models.Q(confermata=False))) when I save a Conferma, the relative Previsione.confermata is set to True but when I go to UPDATE the record the select don't display the original Previsione selected .... I've tryed with manipulator, signals and so on, but I don't have understand if there is a method to do this .... I've to create manually a Form ? tanks in advance ... -- #include <stdio.h> int main(void){char c[]={10,65,110,116,111,110,105,111,32,98,97,114,98,111,110, 101,32,60,104,105,110,100,101,109,105,116,64,116,105,115,99,97,108,105,110,101, 116,46,105,116,62,10,10,0};printf("%s",c);return 0;} --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---