Commit graph

704 commits

Author SHA1 Message Date
Emil Stenström
a350ad1a86 Bump version. 2023-03-15 00:00:12 +01:00
Emil Stenström
2ae7dfcee3
Update README.md 2023-03-14 23:59:11 +01:00
dependabot[bot]
da4c3fde4d
Bump pytest from 7.2.1 to 7.2.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.1 to 7.2.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.2.1...7.2.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 22:43:24 +00:00
Emil Stenström
c102019811 Bump version. 2023-03-14 23:42:05 +01:00
lemontheme
898d148382 Add required kwd to slot tag and add test
Move required slot check to SlotNode.render(); clean up needed

Remove unused code; drop caching

Update docs

Incorporate PR feedback
2023-03-14 23:40:21 +01:00
lemontheme
a8dfcce24e Introduce {% fill %} replacing 'fill' func of 'slot' tag
Partial implementation fill-tags plus update tests

Implement {% fill %} tags. Next: update tests.

Bring back support for {%slot%} blocks for bckwrd-compat and implement ambig. resolution policy

Update tests to use fill blocks. Add extra checks that raise errors

Add new tests for fill-slot nesting

Update README. Editing still required

remove unused var ctxt after flake8 complaint

fix flake8 warning about slotless f-string

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Add new slot aliases in fill context. Clean up rendering logic in Component. Update docs.

fix flake8, isort, black errors

Refactor duplicated name validation

Add if_filled tag + elif_filled...else_filled...endif_filled for cond. slots

Fix mistake in do_if_filled() docstring

Upload templates for tests! D'oh

Incorporate PR feedback

Drop Literal type hint; Use isort off-on instead of skip in tests

Treat all fill,slot,if_filled,component names as variables

Reset sampleproject components

Add test for variable filled name

Update examples in docs
2023-03-14 23:40:21 +01:00
Emil Stenström
714fc9edb0
Merge pull request #230 from EmilStenstrom/dependabot/pip/pre-commit-3.1.1
Bump pre-commit from 3.1.0 to 3.1.1
2023-03-02 16:46:25 +01:00
dependabot[bot]
fd4998b356
Bump pre-commit from 3.1.0 to 3.1.1
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 17:57:12 +00:00
Emil Stenström
61697949a8
Merge pull request #229 from EmilStenstrom/dependabot/pip/pre-commit-3.1.0
Bump pre-commit from 3.0.4 to 3.1.0
2023-02-23 19:13:34 +01:00
dependabot[bot]
69ee122a1f
Bump pre-commit from 3.0.4 to 3.1.0
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.0.4 to 3.1.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.0.4...v3.1.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 17:13:27 +00:00
Emil Stenström
586dc76d5e
Merge pull request #228 from EmilStenstrom/dependabot/pip/tox-4.4.6
Bump tox from 4.4.5 to 4.4.6
2023-02-21 22:53:09 +01:00
dependabot[bot]
75441112c1
Bump tox from 4.4.5 to 4.4.6
Bumps [tox](https://github.com/tox-dev/tox) from 4.4.5 to 4.4.6.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.4.5...4.4.6)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-21 18:30:16 +00:00
Emil Stenström
94ae7dea1f
Merge pull request #227 from EmilStenstrom/dependabot/pip/django-4.1.7
Bump django from 4.1.6 to 4.1.7
2023-02-14 22:48:21 +01:00
dependabot[bot]
a420dbef93
Bump django from 4.1.6 to 4.1.7
Bumps [django](https://github.com/django/django) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/4.1.6...4.1.7)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 17:57:05 +00:00
Emil Stenström
6751501583
Merge pull request #224 from EmilStenstrom/dependabot/pip/tox-4.4.5
Bump tox from 4.4.4 to 4.4.5
2023-02-12 09:42:32 +01:00
dependabot[bot]
4e82f11ef7
Bump tox from 4.4.4 to 4.4.5
Bumps [tox](https://github.com/tox-dev/tox) from 4.4.4 to 4.4.5.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.4.4...4.4.5)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 21:19:36 +00:00
Emil Stenström
384ff79e08 Bump version. 2023-02-09 22:17:58 +01:00
Emil Stenström
47af3151e2 Merge branch 'master' of https://github.com/EmilStenstrom/django-components 2023-02-09 22:15:51 +01:00
Emil Stenström
36237f0752 Make Media.css and Media.js optional. 2023-02-09 22:15:47 +01:00
Emil Stenström
de14a940ec
Merge pull request #223 from EmilStenstrom/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2023-02-07 09:05:36 +01:00
pre-commit-ci[bot]
0996a14544 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-02-07 04:59:41 +00:00
pre-commit-ci[bot]
09f2b8c5dd
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0)
2023-02-07 04:59:35 +00:00
Emil Stenström
d949e6d3c0
Merge pull request #222 from EmilStenstrom/dependabot/pip/pre-commit-3.0.4
Bump pre-commit from 3.0.3 to 3.0.4
2023-02-06 22:52:10 +01:00
dependabot[bot]
a5365df1ea
Bump pre-commit from 3.0.3 to 3.0.4
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.0.3...v3.0.4)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 17:01:16 +00:00
Emil Stenström
f92b2ee3ad
Merge pull request #219 from EmilStenstrom/dependabot/pip/django-4.1.6
Bump django from 4.1.5 to 4.1.6
2023-02-03 21:16:58 +01:00
Emil Stenström
389c97db96
Merge branch 'master' into dependabot/pip/django-4.1.6 2023-02-03 21:15:43 +01:00
Emil Stenström
cde708493f
Merge pull request #220 from EmilStenstrom/dependabot/pip/pre-commit-3.0.3
Bump pre-commit from 3.0.2 to 3.0.3
2023-02-03 10:16:11 +01:00
dependabot[bot]
5beb87a09f
Bump pre-commit from 3.0.2 to 3.0.3
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.0.2...v3.0.3)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 17:01:06 +00:00
Emil Stenström
feebfa8e1e
Merge branch 'master' into dependabot/pip/django-4.1.6 2023-02-02 11:01:41 +01:00
Emil Stenström
5b48a2da82
Merge pull request #218 from EmilStenstrom/dependabot/pip/tox-4.4.4
Bump tox from 4.4.2 to 4.4.4
2023-02-02 11:01:23 +01:00
dependabot[bot]
f5862aa44f
Bump django from 4.1.5 to 4.1.6
Bumps [django](https://github.com/django/django) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/4.1.5...4.1.6)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 17:02:23 +00:00
dependabot[bot]
eee8dd5959
Bump tox from 4.4.2 to 4.4.4
Bumps [tox](https://github.com/tox-dev/tox) from 4.4.2 to 4.4.4.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.4.2...4.4.4)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 17:01:25 +00:00
Emil Stenström
675038f508
Merge pull request #216 from EmilStenstrom/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2023-01-31 08:16:27 +01:00
pre-commit-ci[bot]
d5a80559d4
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pycqa/isort: 5.11.4 → 5.12.0](https://github.com/pycqa/isort/compare/5.11.4...5.12.0)
2023-01-31 03:58:22 +00:00
Emil Stenström
f3bc744e7e
Merge pull request #214 from EmilStenstrom/dependabot/pip/pre-commit-3.0.2
Bump pre-commit from 3.0.1 to 3.0.2
2023-01-30 22:59:19 +01:00
Emil Stenström
d20e947ebe
Merge branch 'master' into dependabot/pip/pre-commit-3.0.2 2023-01-30 22:28:02 +01:00
Emil Stenström
de5dbd76fd
Merge pull request #215 from EmilStenstrom/dependabot/pip/isort-5.12.0
Bump isort from 5.11.4 to 5.12.0
2023-01-30 22:27:44 +01:00
dependabot[bot]
c2d7f7df6a
Bump isort from 5.11.4 to 5.12.0
Bumps [isort](https://github.com/pycqa/isort) from 5.11.4 to 5.12.0.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.11.4...5.12.0)

---
updated-dependencies:
- dependency-name: isort
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 17:02:06 +00:00
dependabot[bot]
758afa0209
Bump pre-commit from 3.0.1 to 3.0.2
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 17:01:11 +00:00
Emil Stenström
f34a8a4651
Merge pull request #213 from EmilStenstrom/dependabot/pip/tox-4.4.2
Bump tox from 4.1.1 to 4.4.2
2023-01-27 21:20:11 +01:00
dependabot[bot]
162189b648
Bump tox from 4.1.1 to 4.4.2
Bumps [tox](https://github.com/tox-dev/tox) from 4.1.1 to 4.4.2.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.1.1...4.4.2)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-27 17:01:06 +00:00
Emil Stenström
b6769ff5ad
Merge pull request #210 from EmilStenstrom/dependabot/pip/pytest-7.2.1
Bump pytest from 7.2.0 to 7.2.1
2023-01-26 18:05:56 +01:00
Emil Stenström
3c06428402
Merge branch 'master' into dependabot/pip/pytest-7.2.1 2023-01-26 18:05:03 +01:00
Emil Stenström
b616922297
Merge pull request #212 from EmilStenstrom/dependabot/pip/pre-commit-3.0.1
Bump pre-commit from 2.21.0 to 3.0.1
2023-01-26 18:03:22 +01:00
dependabot[bot]
f0e1a35daa
Bump pre-commit from 2.21.0 to 3.0.1
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.21.0 to 3.0.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.21.0...v3.0.1)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 17:01:06 +00:00
dependabot[bot]
35fcea5b32
Bump pytest from 7.2.0 to 7.2.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.0 to 7.2.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.2.0...7.2.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-16 17:01:27 +00:00
Emil Stenström
9103eda2f4
Merge pull request #208 from EmilStenstrom/contributors-readme-action-BKMOtBTSKT
docs(contributor): contributors readme action update
2023-01-07 13:44:25 +01:00
Emil Stenström
42e5606654 Bump version. 2023-01-07 13:42:16 +01:00
github-actions[bot]
ac8c12f43d
docs(contributor): contrib-readme-action has updated readme 2023-01-07 12:31:57 +00:00
Emil Stenström
0f601628b5
Merge pull request #207 from hjalves/master
Issue loading media when RENDER_DEPENDENCIES True
2023-01-07 13:31:42 +01:00