forms: make custom form page used during edits (#10909)

This commit is contained in:
Frédéric Péters 2016-05-12 18:45:25 +02:00
parent d71f475f7f
commit 76a1165165
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ class AlternateFormPage(OldFormPage):
return
wcs.forms.root.FormPage = AlternateFormPage
wcs.forms.root.PublicFormStatusPage.form_page_class = AlternateFormPage
wcs.forms.preview.PreviewFormPage.__bases__ = (AlternateFormPage,)