Skip to content
Snippets Groups Projects
Commit 719cd1f4 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Update ability to select different page types as related obejcts

parent 5881f324
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ class ProjectPage(FundingMixin, BasePage):
FieldPanel('status'),
StreamFieldPanel('body'),
InlinePanel('contact_details', label="Contact Details"),
InlinePanel('related_pages', label="Related pages"),
InlinePanel('related_pages', label="Related Projects"),
InlinePanel('funding', label="Funding"),
]
......
......@@ -277,8 +277,7 @@ class BaseFunding(Orderable):
FieldPanel('value'),
FieldPanel('duration'),
]),
# This is stubbed as we need to be able to select from multiple
PageChooserPanel('source'),
PageChooserPanel('source', ['public_funds.FundPage', 'public_funds.LabPage']),
]
class Meta(Orderable.Meta):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment