djangocms-versioning
djangocms-versioning copied to clipboard
BUG: Published content object's edit endpoint should redirect to preview endpoint
Steps to reproduce
- Create an object (say
PageContent
) and publish it. - Go to its preview endpoint by clicking "view" in the version admin shown after publishing
- Manually change the URL in the browser's toolbar from
.../preview/<pk>
to.../edit/<pk>
- The edit endpoint is shown with the ability to publish a published version again.
Related info
- #354 might be solved if this is solved
- #337 might also be solved by this