mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-11 08:43:10 +00:00
A couple of minor coding style fixes
This commit is contained in:
parent
610ac3fc4b
commit
c7e6c42954
1 changed files with 2 additions and 2 deletions
|
|
@ -157,7 +157,7 @@ def create(request, content_type_app_name, content_type_model_name, parent_page_
|
|||
page.save_revision(
|
||||
user=request.user,
|
||||
submitted_for_moderation=is_submitting,
|
||||
approved_go_live_at = approved_go_live_at
|
||||
approved_go_live_at=approved_go_live_at
|
||||
)
|
||||
|
||||
if is_publishing:
|
||||
|
|
@ -255,7 +255,7 @@ def edit(request, page_id):
|
|||
page.save_revision(
|
||||
user=request.user,
|
||||
submitted_for_moderation=is_submitting,
|
||||
approved_go_live_at = approved_go_live_at
|
||||
approved_go_live_at=approved_go_live_at
|
||||
)
|
||||
|
||||
if is_publishing:
|
||||
|
|
|
|||
Loading…
Reference in a new issue