Commit graph

1023 commits

Author SHA1 Message Date
Emil Stenström
678346313c Inline data for test_render_component_from_template. 2024-05-02 22:53:02 +02:00
pre-commit-ci[bot]
04d968ace9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-05-02 20:34:46 +00:00
Juro Oravec
8c4a55901c tests: add inline syntax highlight, inline template files 2024-05-02 22:33:02 +02:00
Juro Oravec
e566d8ecbb
fix: loader tags compatibility (#468) 2024-05-02 22:24:49 +02:00
Shixian Sheng
eef331e903
Update README.md (#469) 2024-05-01 22:16:13 +02:00
Juro Oravec
e346c07298
chore: bump v0.70 (#467) 2024-05-01 21:09:41 +02:00
Juro Oravec
3fc90e4956
feat: merge context settings, replace if_filled tag with var
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-01 20:55:09 +02:00
TheSteveBurgess
0f3491850b
feat: Support both sync and async in ComponentDependencyMiddleware
Co-authored-by: TheSteveBurgess
2024-05-01 17:01:09 +02:00
pre-commit-ci[bot]
8ada8ec3c7
[pre-commit.ci] pre-commit autoupdate (#463)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-30 11:32:32 +02:00
dependabot[bot]
3e96c583cc
build(deps-dev): bump pytest from 8.1.1 to 8.2.0 (#462)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 11:12:00 +02:00
dependabot[bot]
15a8b21a76
build(deps-dev): bump mypy from 1.9.0 to 1.10.0 (#461)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 11:07:51 +02:00
dependabot[bot]
4bad8d7415
build(deps-dev): bump tox from 4.14.2 to 4.15.0 (#460)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 11:04:40 +02:00
dependabot[bot]
f491a6d250
build(deps-dev): bump black from 24.4.0 to 24.4.2 (#459)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 11:01:15 +02:00
Juro Oravec
981eb59cf1
feat: Allow multiple slots with the same name in the same template
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-29 15:09:25 +02:00
Juro Oravec
29c931f150
refactor: fix slot fills for components nested in themselves (#456)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-25 20:36:05 +02:00
Juro Oravec
091da26da5
refactor: Tests cleanup and better test isolation (#452)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-25 14:20:33 +02:00
Juro Oravec
ae22eff8af
refactor: fix context vars missing in isolated slot (#455)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-25 12:08:20 +02:00
Juro Oravec
e4e787b29d
chore: bump v0.68 (#451) 2024-04-23 21:41:37 +02:00
Juro Oravec
3ad0dd8677
refactor: fix slot context behavior (#445) 2024-04-23 21:35:45 +02:00
Dylan Castillo
f3d6337ecc
Merge pull request #448 from tanssinet/doc-fixes
Documentation fixes
2024-04-21 19:59:20 +02:00
Mikko Ahonen
8f674000fa Fix: Fixed calendar view example in README
Fixes EmilStenstrom/django-components#446
2024-04-21 20:11:05 +03:00
Mikko Ahonen
a2225bf58f Fix: Fixed load tag name in README
Fixes EmilStenstrom/django-components#447
2024-04-21 20:05:22 +03:00
Juro Oravec
be4b1f1a02
Merge pull request #443 from JuroOravec/jo-drop-support-django-32-40-41 2024-04-19 09:41:35 +02:00
pre-commit-ci[bot]
9e6c645346 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-04-18 11:35:01 +00:00
Juro Oravec
eb40afba7b refactor: remove Django30CompatibleTestCase 2024-04-18 13:33:58 +02:00
Juro Oravec
6478776269 chore: drop support for Django 3.2, 4.0, 4.1 2024-04-18 10:44:19 +02:00
Juro Oravec
4a25c9d56b refactor: update Django supported versions scraper 2024-04-18 10:43:43 +02:00
Juro Oravec
0abb5aa63f
Merge pull request #442 from JuroOravec/master 2024-04-17 23:44:20 +02:00
Juro Oravec
23528b0a96
Merge branch 'master' into master 2024-04-17 23:39:47 +02:00
Juro Oravec
267a196d26 chore: release v0.67 2024-04-17 23:32:34 +02:00
Juro Oravec
c422f20ee4
Merge pull request #437 from JuroOravec/350-feat-slot-context-resolution 2024-04-17 23:22:01 +02:00
Juro Oravec
2c451693ab refactor: add TRACE log level 2024-04-17 11:17:06 +02:00
Juro Oravec
bacd683c44 refactor: fix type imports in tests 2024-04-16 23:25:13 +02:00
Juro Oravec
8b8121bde2 docs: fix typos 2024-04-16 23:25:13 +02:00
Juro Oravec
1b6cc7c192 refactor: fix settings in sampleproject 2024-04-16 23:25:13 +02:00
Juro Oravec
691b663ed5 refactor: use copy() instead of __copy__ 2024-04-16 23:25:13 +02:00
Juro Oravec
091a692993 refactor: remove extra type: ignore 2024-04-16 23:25:13 +02:00
Juro Oravec
3e75db59ae refactor: replace Sequence with List 2024-04-16 23:25:13 +02:00
Juro Oravec
1d0da559b4 refactor: remove typealias import 2024-04-16 23:25:13 +02:00
Juro Oravec
f28e5695f4 docs: add settings info to README 2024-04-16 23:25:13 +02:00
Juro Oravec
623a5fe365 refactor: fix types for render and render_to_response 2024-04-16 23:25:13 +02:00
Juro Oravec
bb114b4002 refactor: fix linter errors 2024-04-16 23:25:13 +02:00
pre-commit-ci[bot]
ab7f3e0cdb [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-04-16 23:25:13 +02:00
Juro Oravec
089cda54c5 refactor: fix tests 2024-04-16 23:25:13 +02:00
Juro Oravec
ce5b5c40d8 refactor: use component IDs as keys for slot fill llokup 2024-04-16 23:25:13 +02:00
Juro Oravec
c1369ab2c7 feat: add tracing logger statements 2024-04-16 23:25:13 +02:00
Juro Oravec
f86eeb25a9 feat: add unique IDs to our nodes for easier debugging 2024-04-16 23:25:13 +02:00
Juro Oravec
f3a2bcbc4f refactor: rename for easier debugging 2024-04-16 23:25:13 +02:00
Juro Oravec
1dd492314a refactor: use component_id instead of Template as slot fill cache key 2024-04-16 23:25:13 +02:00
Juro Oravec
969f0bdc32 refactor: make settings getter react to changes in settings 2024-04-16 23:25:13 +02:00