mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-14 20:10:59 +00:00
reword comment - the URL *may* have changed
This commit is contained in:
parent
33faa40ecd
commit
bf0166945c
1 changed files with 2 additions and 2 deletions
|
|
@ -236,8 +236,8 @@ def edit(request, page_id):
|
|||
# Publish
|
||||
if is_publishing:
|
||||
revision.publish()
|
||||
# Need to reload the page because the url has changed and we
|
||||
# need access to it for the "View Live" button.
|
||||
# Need to reload the page because the URL may have changed, and we
|
||||
# need the up-to-date URL for the "View Live" button.
|
||||
page = Page.objects.get(pk=page.pk)
|
||||
|
||||
# Notifications
|
||||
|
|
|
|||
Loading…
Reference in a new issue