On Wed, Nov 19, 2008 at 8:59 PM, Brian Rosner <[EMAIL PROTECTED]> wrote: > On Wed, Nov 19, 2008 at 8:43 PM, Luper Rouch <[EMAIL PROTECTED]> wrote: >> For django to save the formset correctly when it is submitted, I have to >> manually set INITIAL_FORMS to 0 in javascript (because the objects are >> not really in the database). > > It looks like you are trying to shove a square object through a round > hole. Why are you using a model formset when there is "real" queryset? > Model formsets are simply a thin layer over formsets. It sounds like > you need to those to cleanly write your code and not resort to hacking > a model formset to work without a real queryset.
Ugh. That didn't read as well as I hoped :) I meant to ask, why are you using model formsets when there is no "real" queryset? You should just use formsets. -- Brian Rosner http://oebfare.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---