On Aug 19, 12:41 pm, SixDegrees <paulcarli...@comcast.net> wrote: > The parameter in question is a primary key that is used to generate a series > of fields within the form. It is passed to the form __init__ routine, and > can vary from one form to another. So, given a formset, I want to tell the > formset "This is the parameter you should use when creating the next form > you create."
I think it might help if you could post a code snippet showing how you are creating the formset (not the __init__, but where you call the formset creation method) and the formset creation method itself (or just its name if you are using formset_factory or something else from Django). If I understand you correctly, you are wanting to call formset_factory and have it pass along a parameter to the Form that the formset contains. However, you talk about the parameter being a primary key, which would indicate to me that you are dealing with existing objects from models, in which case we should be talking about a ModelFormset. Wayne -- 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.