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

fixed the msg in view , added tal:content=view/msg expression in the … #547

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

aadarsh-nagrath
Copy link
Member

As suggested by @me-kell in issue - Add a msg funtion to the view python class (e.g. as follows): #496
Modified code so that -
The msg function returns a string that includes the name of the view class; and the template file using tal:content="view/msg" expression in the

tag will call the msg function in the view and display the returned string on the page.

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