Commit graph

208 commits

Author SHA1 Message Date
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
Emil Stenström
710a406a7b Tox-gh-actions does not support 3.4, so remove it. 2021-01-17 23:30:41 +01:00
Emil Stenström
8b3760458b Nitpick: Indentation. 2021-01-04 22:23:04 +01:00
Emil Stenström
7c57f06f3d Update compatibility table. 2021-01-03 08:01:43 +01:00
Emil Stenström
ec7b10f4db Django 3.1 no longer outputs type="text/javascript". 2020-11-10 21:54:15 +01:00
Bradley Stuart Kirton
a6d729e7a6 Update README to reflect component tags name
Update template method input name from date to context as this was a bit confusing
2020-07-08 07:21:37 +02:00
Emil Stenström
a5b64b47b7 Fix spelling. 2020-06-11 22:44:27 +02:00
Emil Stenström
00c27f2b3e Specify syntax. 2020-06-06 09:17:50 +02:00
Emil Stenström
c38343928c Add more examples in README. 2020-06-06 09:17:20 +02:00
Emil Stenström
d1405dda13 Add slots to components that can be filled when using component. 2020-06-06 09:11:27 +02:00
Emil Stenström
60c51f4ae5 Update README.md 2020-02-08 13:39:59 +01:00
Emil Stenström
ed93b05db6 Update README to mention Django 3.0. 2020-02-08 10:31:09 +01:00
Emil Stenström
5356546efd Rename package and upload to pypi. 2020-02-08 10:22:07 +01:00
Emil Stenström
1da8977d63
Update README.md 2019-11-24 11:19:06 +01:00
Emil Stenström
096057b33d Use built-in django form assets instead of custom logic. 2019-11-24 10:31:23 +01:00
Emil Stenström
99d761b340 Simplify instructions on how to run tests locally. 2019-11-23 22:02:38 +01:00
Emil Stenström
ebb180c540 Use list instead of tuple to avoid errors with missing comma. 2019-11-23 19:26:16 +01:00
Emil Stenström
8abf8c5e3b Add compatibility information to README. 2019-11-23 19:23:43 +01:00
Emil Stenström
f87f87dadf Update readme (thanks @mohammedalhaddar). 2019-11-23 19:18:08 +01:00
Emil Stenström
62c556f530 Improve README by adding detailed instructions. 2015-06-19 20:22:58 +02:00
Ryan Hiebert
4f1a6c1ade Document some alternate ways to run the tests 2015-06-14 21:35:41 -05:00