Emil Stenström
|
07986c5216
|
Caching templates to allow for dynamic template generation
Co-authored-by: rbeard0330 <@dul2k3BKW6m>
|
2021-02-15 21:07:14 +01:00 |
|
rbeard0330
|
87f9994c81
|
Performance (+50%): Compile ComponentNode at creation, not render (#22)
Co-authored-by: rbeard0330 <@dul2k3BKW6m>
|
2021-02-06 10:09:57 +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 |
|
rbeard0330
|
93b8a7404a
|
Rework of context handling (#18)
Co-authored-by: rbeard0330 <@dul2k3BKW6m>
|
2020-12-28 10:40:35 +01:00 |
|
Emil Stenström
|
e9fba9538f
|
Add trick to make tests pass on Django 1.11 too.
|
2020-12-08 23:33:36 +01:00 |
|
Emil Stenström
|
ec7b10f4db
|
Django 3.1 no longer outputs type="text/javascript".
|
2020-11-10 21:54:15 +01:00 |
|
Emil Stenström
|
5f63a6a6bd
|
Add test for component with undefined template method.
|
2020-06-07 17:07:24 +02:00 |
|
Emil Stenström
|
701e1e3ac2
|
Add test for more complex template that uses built-in django filter.
|
2019-11-24 11:10:14 +01:00 |
|
Emil Stenström
|
d91f014b4b
|
Move test components into test cases.
|
2019-11-24 11:09:40 +01:00 |
|
Emil Stenström
|
40ebd6b936
|
Install isort and fix all imports.
|
2019-11-24 11:09:14 +01:00 |
|
Emil Stenström
|
aa4a3092c8
|
Make test suite ignore insignificant differences in HTML and whitespace.
|
2019-11-24 10:55:30 +01:00 |
|
Emil Stenström
|
6949dc286f
|
Add tests for defining multiple css and js files.
|
2019-11-24 10:33:14 +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
|
ebb180c540
|
Use list instead of tuple to avoid errors with missing comma.
|
2019-11-23 19:26:16 +01:00 |
|
Emil Stenström
|
143918e2cf
|
Move django bootstrapping to separate file so it can be reused between test modules.
|
2015-06-14 14:16:50 +02:00 |
|
Emil Stenström
|
41122d1592
|
Move environment setup to the module to get Travis CI to pass.
|
2015-06-14 12:23:12 +02:00 |
|
Emil Stenström
|
6492081b64
|
Add render() and render_dependencies() to Compoent.
|
2015-06-12 22:15:09 +02:00 |
|
Emil Stenström
|
972f99af05
|
Make test slightly more interesting.
|
2015-06-11 21:28:50 +02:00 |
|
Emil Stenström
|
31261ece08
|
Add a basic Component class.
|
2015-06-11 21:14:21 +02:00 |
|