Code review comment for lp:~dooferlad/offspring/ssh_ui_mods

Revision history for this message
James Tunnicliffe (dooferlad) wrote :

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.

« Back to merge proposal