This repository was archived by the owner on Jun 22, 2025. It is now read-only.
added feature to include jinja template context in startpage#368
Open
oluwafenyi wants to merge 1 commit intopython-eel:mainfrom
Open
added feature to include jinja template context in startpage#368oluwafenyi wants to merge 1 commit intopython-eel:mainfrom
oluwafenyi wants to merge 1 commit intopython-eel:mainfrom
Conversation
spookybear0
approved these changes
Dec 1, 2020
spookybear0
left a comment
There was a problem hiding this comment.
This seems like an interesting idea, and it seemed simple enough to make. It looks good to me, because it only adds two lines of code but this is needed.
StephenChan
added a commit
to StephenChan/Eel
that referenced
this pull request
Jul 11, 2023
Copied from python-eel#368 (but that changeset is based off of a 2020 version of Eel).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We can now include a context into the start page for jinja templates. This is useful for adding code generated data, custom functions, iterators into the markup. I make use of this feature in a project below:
https://github.com/oluwafenyi/sudoku-solver/blob/master/sudoku.py