Skip to content
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

[IMP] tg_marketing: fixed error in template #29

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from

Conversation

azimkhankuat
Copy link

[IMP] tg_marketing: fixed error in template

Comment on lines 8 to +11
def registration_confirm(self, event, **post):
filtered_post = {k: v for k, v in post.items() if "marketing_answer" not in k}
res = super().registration_confirm(event, **filtered_post)
res = super().registration_confirm(event, **post)

return res
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Разве после полного удаления этого переопределения ошибка не исчезает?

Comment on lines 36 to 50
return res
return registrations
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Если переменная registrations не используется нигде, то надо просто вызывать родительский метод в конце

@azimkhankuat azimkhankuat force-pushed the 17.0-mig-tg_marketing branch 2 times, most recently from af789c5 to 4fceb8a Compare October 31, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants