-
Notifications
You must be signed in to change notification settings - Fork 0
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
Remove context None
guard exception
#30
base: main
Are you sure you want to change the base?
Conversation
None
guard errorNone
guard exception
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #30 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 13 13
Lines 254 252 -2
=========================================
- Hits 254 252 -2 ☔ View full report in Codecov by Sentry. |
`None` was returned from `get_context_method`. | ||
|
||
I was not able to find out why this check was put in place. The components usage | ||
in Wagtail does not reveal any issues when the error is removed. Also, the |
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.
in Wagtail does not reveal any issues when the error is removed. Also, the | |
in Wagtail does not reveal any issues when the error guard is removed. | |
Also, the |
|
||
I was not able to find out why this check was put in place. The components usage | ||
in Wagtail does not reveal any issues when the error is removed. Also, the | ||
following template rendering works just fine with the context being `None`. |
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.
following template rendering works just fine with the context being `None`. | |
template rendering with `template.render(context)` works just fine with the context being `None`. |
Description
Checklist