rfcs icon indicating copy to clipboard operation
rfcs copied to clipboard

RFC 53: Swappable Page model

Open sonnybaker opened this issue 5 years ago • 6 comments

Rendered

sonnybaker avatar Jun 22 '20 10:06 sonnybaker

This would be great. Is this still alive? :)

mattlinares avatar Apr 12 '21 11:04 mattlinares

This would be an amazing solution to a problem we have right now. We are not happy with how pages are identified by Wagtail, so we would like to introduce another PageIdentifier. Right now we can have a ParentalKey to another Model but that handling is just not elegant for something that should essentially be a CharField.

I think this would add a lot of value and possibilities to Wagtail Development. And with django-swappable-models there is even some experience here.

NotANormalNerd avatar Sep 14 '22 15:09 NotANormalNerd

Thank you @sonnybaker for taking a crack at this, I can only imagine it being very tough to write an RFC for this.

Linking to historical discussion for reference: Feature request: Swappability of main models #11381


@mattlinares @NotANormalNerd, and anyone who wonders where this is at – if you want to see this happen,

  1. Review the RFC and provide feedback
  2. Get your friends to review the RFC
  3. Discuss this in place with the Wagtail Slack

We’re not particularly good at this RFC process but if there’s movement I’m sure the core team will make efforts to support this.

thibaudcolas avatar Dec 22 '23 07:12 thibaudcolas

Hi @thibaudcolas! Thanks so much for resurrecting this. It's fair to say Wagtail has come on a little bit since I wrote this back in 2020, so there's obviously a lot more to factor in now (new revisions sytem and comments immediately spring to mind). We're keen to get behind this at at Hactar, so would love to work on the PR/epic with the guidance of the core team if there's an appetite for it to move forward.

sonnybaker avatar Jan 08 '24 15:01 sonnybaker

Please note, we have closed the PR https://github.com/wagtail/wagtail/pull/5457 & raised an issue to reflect that goal instead https://github.com/wagtail/wagtail/issues/11440

It might be worth updating this RFC to reflect that in the links section.

lb- avatar Jan 10 '24 22:01 lb-

A use-case that could benefit https://github.com/coderedcorp/wagtail-seo/issues/43#issuecomment-2236141459

allcaps avatar Jul 18 '24 18:07 allcaps