File tree Expand file tree Collapse file tree 4 files changed +37
-28
lines changed Expand file tree Collapse file tree 4 files changed +37
-28
lines changed Original file line number Diff line number Diff line change 22
33See below for details of all version changes and upgrades.
44
5+ ## [ v1.1]
6+
7+ - Added ` {% include ' ' %} ` snippet for Django templates
8+
59## [ v1.0.0]
610
711- Initial version ** deployed** ! - * Gives self pat on the back.*
Original file line number Diff line number Diff line change @@ -62,6 +62,10 @@ ptd-stat | {% static ' `*` ' %}
6262
6363## Release Notes
6464
65+ ### 1.1
66+
67+ - Extra Snippet added. See the [ Changelog] ( https://github.com/EndlessTrax/python-template-snippets/CHANGELOG.md )
68+
6569### 1.0.0
6670
6771- Initial release! Yay me!
Original file line number Diff line number Diff line change 88 " Django" ,
99 " Jinja2"
1010 ],
11- "version" : " 1.0.0 " ,
11+ "version" : " 1.1 " ,
1212 "publisher" : " RickyWhite" ,
1313 "engines" : {
1414 "vscode" : " ^1.28.0"
Original file line number Diff line number Diff line change 11{
2- "Django - Url Tags" : {
3- "scope" : " html" ,
4- "prefix" : " ptd-url" ,
5- "body" : [
6- " {% url '$1' $2%}$0"
7- ],
8- "description" : " Adds Django URL block"
9- },
10-
11- "Django - Load tags" : {
12- "scope" : " html" ,
13- "prefix" : " ptd-load" ,
14- "body" : [
15- " {% load $1 %}$0"
16- ],
17- "description" : " Adds Load Block"
18- },
19-
20- "Django - Static File" : {
21- "scope" : " html" ,
22- "prefix" : " ptd-stat" ,
23- "body" : [
24- " {% static '$1' %}$0"
25- ],
26- "description" : " Adds Static File Block"
27- }
28- }
2+ "Django - Url Tags" : {
3+ "scope" : " html" ,
4+ "prefix" : " ptd-url" ,
5+ "body" : [" {% url '$1' $2%}$0" ],
6+ "description" : " Adds Django URL block"
7+ },
8+
9+ "Django - Load Tags" : {
10+ "scope" : " html" ,
11+ "prefix" : " ptd-load" ,
12+ "body" : [" {% load $1 %}$0" ],
13+ "description" : " Adds Load Block"
14+ },
15+
16+ "Django - Static File" : {
17+ "scope" : " html" ,
18+ "prefix" : " ptd-stat" ,
19+ "body" : [" {% static '$1' %}$0" ],
20+ "description" : " Adds Static File Block"
21+ },
22+
23+ "Django - Include Tags" : {
24+ "scope" : " html" ,
25+ "prefix" : " ptd-inc" ,
26+ "body" : [" {% include '$1' %}$0" ],
27+ "description" : " Adds Include File Block"
28+ }
29+ }
You can’t perform that action at this time.
0 commit comments