Hi, I have a model labels and am doing:
lines = labels.objects.all() data = [] for line in lines: # dupplicate lines as labels needed (line.labels) for row in range(1, line.labels + 1): line.label_nr = row # adding a new property to the labels object data.append(line) after this I have as many lines of labels as I want in data. So I am pickeling data and send it to the print celery process. Everything works fine except for the label_nr property. Although the values are corerect set It always has the last assigend number after depickeling... (The target is: I want to count the dupplicated ones and do something like "1 of 4") What am I doing wrong? regards Henrik -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.