Re: Formset questions: data vs. initial values

2015-10-08 Thread Carsten Fuchs
Hi Shawn, many thanks for your reply. Am 07.10.2015 um 15:54 schrieb Shawn Milochik: You /can/ use ModelForms for this. You don't need an active instance. Thanks, I'll definitively check this out! However, using a ModelForm wastes performance when the POST request is processed, doesn't it?

Re: Formset questions: data vs. initial values

2015-10-07 Thread Shawn Milochik
You *can* use ModelForms for this. You don't need an active instance. Iterate over the days in the month, and if you have an instance in your database you instantiate a ModelForm where "instance=thing." If not, you instantiate a ModelForm that has no instance, and you send as data "" (empty string

Re: Formset questions: data vs. initial values

2015-10-06 Thread Carsten Fuchs
Anyone please? Best regards, Carsten Am 07.09.2015 um 21:18 schrieb Carsten Fuchs: Dear Django group, after having read all of the Django docs that I could find, I still have two questions about the proper use of formsets. Summary first: 1. What is a good way to make sure the data receiv