Skip to content

Commit ea4effd

Browse files
author
Ricky White
committed
Updated to v1.1
1 parent 9668d74 commit ea4effd

File tree

4 files changed

+37
-28
lines changed

4 files changed

+37
-28
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
See 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.*

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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!

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"Django",
99
"Jinja2"
1010
],
11-
"version": "1.0.0",
11+
"version": "1.1",
1212
"publisher": "RickyWhite",
1313
"engines": {
1414
"vscode": "^1.28.0"

snippets/django-snippets.json

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
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+
}

0 commit comments

Comments
 (0)