Emil Stenström
|
edf3885632
|
Replace all instances of component_block with component. Remove duplicate tests.
|
2024-02-21 22:38:06 +01:00 |
|
Emil Stenström
|
48fe8171b4
|
Reformat lines that became too long. And enforce 119 line length.
|
2024-02-21 22:38:06 +01:00 |
|
Emil Stenström
|
ef6a082238
|
Remove component tag in favour of component_block.
|
2024-02-21 22:38:06 +01:00 |
|
Roman Imankulov
|
16826f45f9
|
Change the order of arguments in assertHTMLEqual()
|
2023-09-29 16:06:52 +02:00 |
|
Roman Imankulov
|
0cc507fd5d
|
Replace self.assertEqual() with self.assertHTMLEqual()
|
2023-09-29 16:06:52 +02:00 |
|
pre-commit-ci[bot]
|
6a633c67a8
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2023-09-29 16:06:52 +02:00 |
|
Roman Imankulov
|
a919b648b3
|
Add support for - and / in component names in middleware
- Fix the COMPONENT_COMMENT_REGEX to find component names with special symbols.
- Fix the test to catch the error.
Follow-up of e0c29e5 and ref: #262
|
2023-09-29 16:06:52 +02:00 |
|
Emil Stenström
|
e0c29e55b7
|
Add support for - and / in component names in middleware.
|
2023-09-03 11:44:40 +02:00 |
|
Humberto Alves
|
f7ae307c79
|
Add test for passing a response to the middleware without Content-Type header.
|
2023-01-05 09:59:55 +00:00 |
|
Emil Stenström
|
8af63ad3ad
|
Ignore type="text/css" in tests, it doesn't matter.
|
2022-12-25 23:00:59 +01: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 |
|
pre-commit-ci[bot]
|
0648ad9a93
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2021-09-10 11:12:26 +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
|
fa3731422f
|
Variables are never used in the tests. Remove them.
|
2021-09-10 11:46:09 +02:00 |
|
Real-Gecko
|
5fcabaa5ba
|
Renamed get_context to get_context_data
|
2021-09-10 11:27:55 +02:00 |
|
Emil Stenström
|
5b9188cc9c
|
Refactored Component class
# Conflicts:
# README.md
# pyproject.toml
|
2021-09-10 11:27:28 +02:00 |
|
Emil Stenström
|
57a5aa0f4b
|
Only render dependencies that are used of a specific page (#52)
Co-authored-by: rbeard0330 <@dul2k3BKW6m>
|
2021-03-24 22:47:48 +01:00 |
|