lemontheme
bb181f47b0
Remove dangling comment
2023-04-06 16:08:17 +02:00
lemontheme
a47b007f67
Fix #250 (3.6 failing) by removing postponed eval of type hints.
2023-04-06 15:52:45 +02:00
Emil Stenström
2848a3184d
Merge branch 'master' of https://github.com/EmilStenstrom/django-components
2023-04-04 21:00:38 +02:00
Emil Stenström
be243c2844
Try adding the django bits back again.
2023-04-04 21:00:35 +02:00
Emil Stenström
7895f7e075
Merge pull request #251 from EmilStenstrom/dependabot/pip/tox-4.4.8
...
Bump tox from 4.4.7 to 4.4.8
2023-03-27 23:15:42 +02:00
dependabot[bot]
3070f50fa8
Bump tox from 4.4.7 to 4.4.8
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.4.7 to 4.4.8.
- [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.7...4.4.8 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 21:13:46 +00:00
Emil Stenström
3bca11c393
Merge pull request #252 from EmilStenstrom/dependabot/pip/pre-commit-3.2.1
...
Bump pre-commit from 3.2.0 to 3.2.1
2023-03-27 23:08:45 +02:00
dependabot[bot]
05dd86fa80
Bump pre-commit from 3.2.0 to 3.2.1
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 3.2.0 to 3.2.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.2.0...v3.2.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-03-27 17:57:55 +00:00
Emil Stenström
3db493f123
Specify fail_on_no_env = True.
2023-03-25 09:54:03 +01:00
Emil Stenström
656011c2a4
Downgrade to Ubuntu 20 to get 3.6 support back.
2023-03-25 09:36:43 +01:00
Emil Stenström
c8f73cde35
Merge branch 'master' of https://github.com/EmilStenstrom/django-components
2023-03-25 09:34:17 +01:00
Emil Stenström
89c3ac7407
Upgrade CI to latest version, and simplify tox.ini
2023-03-25 09:31:14 +01:00
Emil Stenström
196c748a9f
Upgrade CI to latest version, and simplify tox.ini
2023-03-25 09:29:22 +01:00
Emil Stenström
d658fecf5c
Remove contributors, they are already in the sidebar.
2023-03-24 21:47:15 +01:00
Emil Stenström
e292c9b9da
Merge pull request #248 from EmilStenstrom/contributors-readme-action-iAKvpMskk4
...
docs(contributor): contributors readme action update
2023-03-23 22:25:56 +01:00
github-actions[bot]
82fa0e9f5d
docs(contributor): contrib-readme-action has updated readme
2023-03-23 20:38:24 +00:00
adriaan
7544bd10e2
Add regression test for #239 (broke extends tags) + minor tweaks ( #247 )
2023-03-23 21:38:08 +01:00
Emil Stenström
6fcddccd6c
Merge pull request #245 from EmilStenstrom/contributors-readme-action-j2n48unB18
...
docs(contributor): contributors readme action update
2023-03-21 23:00:20 +01:00
Emil Stenström
d02865c5b1
Merge pull request #233 from EmilStenstrom/dependabot/pip/pytest-7.2.2
...
Bump pytest from 7.2.1 to 7.2.2
2023-03-21 22:59:11 +01:00
github-actions[bot]
9a27c5c9cc
docs(contributor): contrib-readme-action has updated readme
2023-03-21 21:58:20 +00:00
Emil Stenström
ee7dab1435
Merge branch 'master' into dependabot/pip/pytest-7.2.2
2023-03-21 22:58:16 +01:00
dependabot[bot]
d6a5c1bc86
Bump tox from 4.4.6 to 4.4.7
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.4.6 to 4.4.7.
- [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.6...4.4.7 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 22:58:05 +01:00
dependabot[bot]
2e62cede67
Bump pre-commit from 3.1.1 to 3.2.0
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 3.1.1 to 3.2.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.1.1...v3.2.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-03-21 22:56:13 +01:00
lemontheme
16022429da
Bump version
2023-03-20 17:24:28 +01:00
Serafeim Papastefanos
f68390953a
Fix for #239 ( #240 )
...
* Fix for #239
* Improve patch
2023-03-20 17:06:00 +01:00
Emil Stenström
69660e31c5
Create .github/FUNDING.yml
2023-03-16 08:58:10 +01:00
Emil Stenström
13aba82983
Merge branch 'master' into dependabot/pip/pytest-7.2.2
2023-03-15 00:03:17 +01:00
github-actions[bot]
a0f29b249d
docs(contributor): contrib-readme-action has updated readme
2023-03-15 00:02:34 +01:00
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