You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where $1 might be the output from the first fragment, and $2 would be the output from the second fragment when given a template name.
I don't love that syntax, but maybe something more from python's format would be better. or even -f var_name=github:simonw/symbex and var_name is the template's variable to be replaced.
The text was updated successfully, but these errors were encountered:
We could skip all of that though and use your fragment templates if there were an easier way to template them. Like maybe this:
Please read our example Django Model and Django ModelAdmin
<example-model>
{$1}
</example-model>
<example-model-admin>
{$2}
</example-model-admin>
Given this this Django model, please create a ModelAdmin for our model:
<model>
{$3}
</model>
<instructions>
- please read our example-model and example-model-admin for ideas
- use our `model` to create a new `model-admin`
- ...
</instructions>
<model-admin>
...
</model-admin>
So you can construct a template that includes fragments at specific point within that template.
Suggested https://mastodon.social/@webology/114387919299723272
The text was updated successfully, but these errors were encountered: