Commit graph

78 commits

Author SHA1 Message Date
github-actions[bot]
ac8c12f43d
docs(contributor): contrib-readme-action has updated readme 2023-01-07 12:31:57 +00:00
github-actions[bot]
e8a5a4aee3
docs(contributor): contrib-readme-action has updated readme 2022-09-10 14:12:57 +00:00
Mandeep Gill
156587f39c
Fix param name of autodiscovery -> autodiscover
The docs say to set `autodiscovery: False` in `settings.COMPONENTS` to disable autodiscovery, but in the `app_settings` code the field is called `autodiscover`.

Cheers!
2022-09-10 14:45:38 +01:00
github-actions[bot]
05e8e15ee3
contrib-readme-action has updated readme 2022-07-27 08:45:42 +00:00
github-actions[bot]
4a1c8be2ae
contrib-readme-action has updated readme 2022-07-26 18:14:26 +00:00
KimSia, Sim
bb256f2ec8
🐛Prevent potential null elements
because {% component_js_dependencies %} loads all the components regardless
2022-07-23 14:42:48 +08:00
Emil Stenström
e30cc0a635 Merge branch 'master' of https://github.com/EmilStenstrom/django-components 2022-07-18 09:19:03 +02:00
Emil Stenström
ea4c709811 Update recommendations for how to setup components. 2022-07-18 09:18:59 +02:00
Emil Stenström
1a4144e2cf
Update README.md 2022-07-18 09:09:42 +02:00
github-actions[bot]
0366569a69
contrib-readme-action has updated readme 2022-07-15 17:31:52 +00:00
KimSia Sim
5910d8d004
Update README.md
Typo in `believe` and also missing `{}`  for `{ slot.super }`
2022-07-15 14:00:39 +08:00
github-actions[bot]
8ad135d30e
contrib-readme-action has updated readme 2022-07-14 11:31:55 +00:00
Emil Stenström
f4c477e412 Update supported Django versions. 2022-07-14 10:18:03 +02:00
github-actions[bot]
e1feb72214
contrib-readme-action has updated readme 2022-05-31 20:30:03 +00:00
contrib-readme-bot
6385b41f17 contrib-readme-action has updated readme 2021-11-08 22:53:29 +00:00
contrib-readme-bot
274f268803 contrib-readme-action has updated readme 2021-11-08 20:21:35 +00:00
spollard
3100b7c72f
Update README.md
Perhaps fixing an example
2021-10-28 00:36:28 -04:00
contrib-readme-bot
ca3e5e3180 contrib-readme-action has updated readme 2021-09-12 08:08:58 +00:00
Emil Stenström
c9f0068741 Release version 0.17. 2021-09-10 13:32:11 +02:00
contrib-readme-bot
b7486cae89 contrib-readme-action has updated readme 2021-09-10 11:18:41 +00:00
contrib-readme-bot
449b1e7d0e contrib-readme-action has updated readme 2021-09-10 11:01:45 +00:00
Emil Stenström
a2f0e2246b Require get_context_data set to accept parameters. 2021-09-10 12:29:47 +02:00
Emil Stenström
5b9188cc9c Refactored Component class
# Conflicts:
#	README.md
#	pyproject.toml
2021-09-10 11:27:28 +02:00
contrib-readme-bot
55f46d6069 contrib-readme-action has updated readme 2021-09-06 07:36:21 +00:00
Emil Stenström
8dfaa95afa
Add a github action to automate releases to PyPI (thanks @hanifbirgani) 2021-08-31 19:03:25 +02:00
Real-Gecko
c1d090d5c0
Added template loader for component templates automatic discovery (thanks @Real-Gecko) 2021-08-30 22:51:03 +02:00
contrib-readme-bot
f0293ec671 contrib-readme-action has updated readme 2021-08-30 11:28:06 +00:00
rbeard0330
e3c9ac76ce
Fix infinite recursion bug (fixes #68) (#74)
* Add regression test for recursion bug, #68

* Only allow slots to access slot nodelists provided to their immediate parent component to prevent infinite recursions.

* Fix import ordering bug in test

* Add slot.super to docs

Remove unused imports

* Bump version

Co-authored-by: rbeard0330 <@dul2k3BKW6m>
2021-07-06 11:56:49 -04:00
Emil Stenström
302991469a Update the Running the tests part. 2021-04-18 23:32:34 +02:00
Emil Stenström
977d9a214a Add support for Django 3.2 (no code changes). 2021-04-18 15:49:23 +02:00
Emil Stenström
f60403f41e Update documentation to recommend simplified style. 2021-03-10 22:42:52 +01:00
Emil Stenström
b30506087c Recommend the component_[css/js}_dependencies tags. 2021-03-06 10:23:31 +01:00
Emil Stenström
c6b20e4cb0 Make registering a component with a decorator the default. 2021-02-27 16:40:16 +01:00
Emil Stenström
968967b1b5
Update README.md 2021-02-23 22:30:01 +01:00
Emil Stenström
4a4d976ce4
Update README.md 2021-02-23 22:29:08 +01:00
contrib-readme-bot
2e86328345 contrib-readme-action has updated readme 2021-02-23 21:28:29 +00:00
Emil Stenström
a87b6734f4
Missing name in component_block (fixes #32). 2021-02-20 23:53:45 +01:00
contrib-readme-bot
91d12b6c67 contrib-readme-action has updated readme 2021-02-20 09:37:27 +00:00
Emil Stenström
3ac77f563b Add documentation of settings. 2021-02-20 10:36:47 +01:00
Emil Stenström
6906888b2c
Update test running badge 2021-02-18 09:50:03 +01:00
contrib-readme-bot
2ff3b3291c contrib-readme-action has updated readme 2021-02-16 08:28:27 +00:00
Emil Stenström
754fe20dce Rename package to django_components on PyPI. 2021-02-16 09:27:56 +01:00
Emil Stenström
2c95b0930f Remove support for Python < 3.6 and Django < 2.2. 2021-02-12 21:10:33 +01:00
contrib-readme-bot
d61c0fa469 contrib-readme-action has updated readme 2021-02-05 23:00:24 +00:00
Emil Stenström
189410cb0d Add documentation on how components are loaded. 2021-02-06 00:00:00 +01:00
contrib-readme-bot
63a63815e1 contrib-readme-action has updated readme 2021-02-05 22:43:07 +00:00
Emil Stenström
f50878cfc8 Add contributors to README. 2021-02-05 23:35:05 +01:00
rbeard0330
2633c3f08f
Pass context into component tags by default, and let components disable with "only" (#20)
Co-authored-by: rbeard0330 <@dul2k3BKW6m>
2021-01-25 12:31:54 +01:00
Emil Stenström
92829bf297 Add badge with number of downloads. 2021-01-17 23:39:31 +01:00
Emil Stenström
48d06374dc Use GitHub Actions badge, not Travis. 2021-01-17 23:36:56 +01:00