-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Log operations #6419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log operations #6419
Changes from 1 commit
c393d73
8309bac
3365d4f
e18af96
41af0c5
8ca4740
e39fbb5
d7677df
721948e
d92ba32
8b79b72
27bb832
2c0df27
801a901
32a91db
322181d
467ea74
b0d90be
84c6aa5
6ccfb02
d707ce8
c5c032d
9bd9902
ccc6354
e741e04
e723bd1
81f9024
9f0a770
6030a71
b82416d
8bed9d0
c192dce
89b0249
4e4d331
b57802c
3b4e002
4bf6ce9
153a60b
2c0a1c6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
from cms.operations import ( | ||
helpers as operation_helpers, | ||
ADD_PAGE_TRANSLATION, | ||
CHANGE_PAGE_TRANSLATION, | ||
CHANGE_PAGE, | ||
) | ||
from cms.plugin_pool import plugin_pool | ||
from cms.signals.apphook import set_restart_trigger | ||
|
@@ -470,7 +470,7 @@ def save(self, commit=True): | |
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove newline |
||
operation_token = operation_helpers.send_pre_page_operation( | ||
request=self.request, | ||
operation=CHANGE_PAGE_TRANSLATION | ||
operation=CHANGE_PAGE, | ||
) | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove newline |
||
data = self.cleaned_data | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would move |
||
|
@@ -500,7 +500,7 @@ def save(self, commit=True): | |
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove newline |
||
operation_helpers.send_post_page_operation( | ||
request=self.request, | ||
operation=CHANGE_PAGE_TRANSLATION, | ||
operation=CHANGE_PAGE, | ||
token=operation_token, | ||
obj=cms_page, | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest: