Got it (I think). Multiple inheritance saves the day!
class ProjectBaseWithSSHForm(ProjectBaseForm, ProjectSSHCredForm):
pass
Using this as the form for ProjectAdmin and the base for
CreateProjectForm, leaving EditProjectForm as is, it creates the
correct combined forms when we need them. Will submit a new patch
after I have cleaned things up and verified the DB changes.
Got it (I think). Multiple inheritance saves the day!
class ProjectBaseWith SSHForm( ProjectBaseForm , ProjectSSHCredF orm):
pass
Using this as the form for ProjectAdmin and the base for
CreateProjectForm, leaving EditProjectForm as is, it creates the
correct combined forms when we need them. Will submit a new patch
after I have cleaned things up and verified the DB changes.