Commit graph

826 commits

Author SHA1 Message Date
Emil Stenström
07c9265a9a
Merge pull request #159 from EmilStenstrom/contributors-readme-action-GXkQ2YhoG9
contributors readme action update
2022-07-15 19:35:27 +02:00
github-actions[bot]
0366569a69
contrib-readme-action has updated readme 2022-07-15 17:31:52 +00:00
Emil Stenström
10560227a9
Merge pull request #157 from simkimsia/patch-1
Update README.md
2022-07-15 19:31:35 +02:00
KimSia Sim
5910d8d004
Update README.md
Typo in `believe` and also missing `{}`  for `{ slot.super }`
2022-07-15 14:00:39 +08:00
Emil Stenström
87e2889cdf
Merge pull request #155 from EmilStenstrom/contributors-readme-action-tdC7RjzhNl
contributors readme action update
2022-07-14 13:38:57 +02:00
Emil Stenström
9d00320aeb Merge branch 'master' of https://github.com/EmilStenstrom/django-components 2022-07-14 13:35:01 +02:00
Emil Stenström
1937d59410 Bump version. 2022-07-14 13:34:58 +02:00
github-actions[bot]
8ad135d30e
contrib-readme-action has updated readme 2022-07-14 11:31:55 +00:00
Emil Stenström
6005b48867
Allow passing in component_name as a variable (thanks @housUnus) 2022-07-14 13:31:33 +02:00
Emil Stenström
812e455dec Update tests to include component_block versions too. 2022-07-14 13:29:35 +02:00
Emil Stenström
84fcaf7ba7 Add tests for calling template tag with variable. 2022-07-14 12:49:21 +02:00
Emil Stenström
29e6d1a4a0 Delay loading component until rendering, and clean up usage of component variable. 2022-07-14 12:47:06 +02:00
Emil Stenström
235c34a986 Merge branch 'patch-5' of https://github.com/housunus/django-components-as-variable into pr/housUnus/153 2022-07-14 10:59:46 +02:00
pre-commit-ci[bot]
16065367d5 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-07-14 10:34:34 +02:00
AIT ALI EL HOSAYN
bfd55f9fbe Component name as variable
I have removed the exception raising when a variable without quotes is given, and keep the variable name until the render function where I'm resolving it if it's a String (which means it's a variable, not a component) then I'm moving the slot parts which relies on the component from __init__ to render after getting the component.
2022-07-14 10:34:34 +02:00
Emil Stenström
d3d3c83c8a YAML converts 3.10 to 3.1 without quotes. 2022-07-14 10:22:11 +02:00
Emil Stenström
501a055fe2 Bump version. 2022-07-14 10:19:01 +02:00
Emil Stenström
f4c477e412 Update supported Django versions. 2022-07-14 10:18:03 +02:00
Emil Stenström
77e4cdc543 Remove deprecation warning in Django > 3.2. 2022-07-14 09:45:42 +02:00
Emil Stenström
98ea9405f9 Fix test breakage when setting accessed before django.setup(). 2022-07-14 09:29:00 +02:00
pre-commit-ci[bot]
ff9367b214 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-07-12 12:44:54 +00:00
AIT ALI EL HOSAYN
bab9aa097f
Component name as variable
I have removed the exception raising when a variable without quotes is given, and keep the variable name until the render function where I'm resolving it if it's a String (which means it's a variable, not a component) then I'm moving the slot parts which relies on the component from __init__ to render after getting the component.
2022-07-12 13:44:16 +01:00
Emil Stenström
6fb08de236
Merge pull request #150 from EmilStenstrom/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-07-05 07:56:24 +02:00
pre-commit-ci[bot]
019c5b56ba
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0)
2022-07-04 22:48:43 +00:00
Emil Stenström
cc84df7d5c
Merge pull request #149 from EmilStenstrom/dependabot/pip/django-4.0.6
Bump django from 4.0.5 to 4.0.6
2022-07-04 19:46:04 +02:00
dependabot[bot]
fa14c3e28f
Bump django from 4.0.5 to 4.0.6
Bumps [django](https://github.com/django/django) from 4.0.5 to 4.0.6.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/4.0.5...4.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 17:01:19 +00:00
Emil Stenström
8d754c51c4
Merge pull request #148 from EmilStenstrom/dependabot/pip/tox-3.25.1
Bump tox from 3.25.0 to 3.25.1
2022-06-30 19:37:25 +02:00
dependabot[bot]
df66ed16e5
Bump tox from 3.25.0 to 3.25.1
Bumps [tox](https://github.com/tox-dev/tox) from 3.25.0 to 3.25.1.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.25.0...3.25.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 17:01:44 +00:00
Emil Stenström
69615f7612
Merge pull request #147 from EmilStenstrom/dependabot/pip/django-4.0.5
Bump django from 4.0.4 to 4.0.5
2022-06-02 15:14:55 +02:00
dependabot[bot]
008638128c
Bump django from 4.0.4 to 4.0.5
Bumps [django](https://github.com/django/django) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/4.0.4...4.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-01 17:04:23 +00:00
Emil Stenström
a8e8d9e333
Merge pull request #145 from EmilStenstrom/contributors-readme-action-ftCY8VfyQI
contributors readme action update
2022-05-31 22:43:36 +02:00
Emil Stenström
7659eb354a
Merge branch 'master' into contributors-readme-action-ftCY8VfyQI 2022-05-31 22:43:22 +02:00
Emil Stenström
ed2cd57bdc Bump version. 2022-05-31 22:31:44 +02:00
github-actions[bot]
e1feb72214
contrib-readme-action has updated readme 2022-05-31 20:30:03 +00:00
Emil Stenström
9632c4540f
Fix #143: ability to preload components (thanks @David-Guillot) 2022-05-31 22:29:48 +02:00
David Guillot
0ae04467c5 fix(tests): some minor anomalies 2022-04-29 00:06:06 +02:00
David Guillot
f67cd37dea feat(templatetags): fix #143, ability to preload components 2022-04-29 00:06:06 +02:00
David Guillot
021339d4a7 refactor(templatetags): make _RENDERED comment a constant 2022-04-29 00:01:50 +02:00
Emil Stenström
50a70fc4ba
Merge pull request #142 from EmilStenstrom/dependabot/pip/pytest-7.1.2
Bump pytest from 7.1.1 to 7.1.2
2022-04-27 23:09:08 +02:00
dependabot[bot]
c658c3236e
Bump pytest from 7.1.1 to 7.1.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.1 to 7.1.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.1.1...7.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 17:01:30 +00:00
Emil Stenström
313310bfe8
Merge pull request #141 from EmilStenstrom/dependabot/pip/django-4.0.4
Bump django from 4.0.3 to 4.0.4
2022-04-23 16:38:13 +02:00
dependabot[bot]
cb4978e8b7 Bump django from 4.0.3 to 4.0.4
Bumps [django](https://github.com/django/django) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/4.0.3...4.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 21:55:22 +02:00
Emil Stenström
a9fa4540a1
Merge pull request #140 from EmilStenstrom/dependabot/pip/tox-3.25.0
Bump tox from 3.24.5 to 3.25.0
2022-04-11 21:54:41 +02:00
dependabot[bot]
4634e51f40
Bump tox from 3.24.5 to 3.25.0
Bumps [tox](https://github.com/tox-dev/tox) from 3.24.5 to 3.25.0.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.24.5...3.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 17:01:44 +00:00
Emil Stenström
6f48bdaf25
Merge pull request #139 from EmilStenstrom/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-04-04 22:53:05 +02:00
pre-commit-ci[bot]
c2b9412ede
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 22.1.0 → 22.3.0](https://github.com/psf/black/compare/22.1.0...22.3.0)
2022-04-04 20:37:16 +00:00
Emil Stenström
c9ffdb5c30
Merge pull request #138 from EmilStenstrom/dependabot/pip/pytest-7.1.1
Bump pytest from 7.1.0 to 7.1.1
2022-03-18 19:44:10 +01:00
dependabot[bot]
0f425ffe3f
Bump pytest from 7.1.0 to 7.1.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.0 to 7.1.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.1.0...7.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-18 17:01:32 +00:00
Emil Stenström
419a0a4cb4
Merge pull request #137 from EmilStenstrom/dependabot/pip/pytest-7.1.0
Bump pytest from 7.0.1 to 7.1.0
2022-03-15 09:34:23 +01:00
dependabot[bot]
35dff4729d
Bump pytest from 7.0.1 to 7.1.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.0.1 to 7.1.0.
- [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.0.1...7.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 17:01:44 +00:00