I have a series of on-line questionnaires, each has a separate Form class defined because the question types and data types for the responses are always different.
I'd like to be able to set the form that is used in the view based on an ID parameter passed to the view. However, whatever I try, I end up with a 'str' object is not callable. My workround for the time being is a very inefficient if/elif case based selection process, but it requires modifying the view each time we create another questionnaire - very clumsy. Can anyone suggest a way to dynamically set my form objects within the view? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---