Commit graph

399 commits

Author SHA1 Message Date
Emil Stenström
34098c375a Sort imports to isort is happy. 2020-11-02 15:08:26 +01:00
Emil Stenström
9f9ff83273 Bump version. 2020-07-14 21:35:27 +02:00
Emil Stenström
b95c6a91f5 Bump version. 2020-07-14 21:34:58 +02:00
Bradley Stuart Kirton
77e5e03e45 Replace generators with for loops and lists 2020-07-10 13:07:51 +02:00
Bradley Stuart Kirton
06f7cd9b3a Remove pytest-cov and pytest.ini 2020-07-10 13:07:51 +02:00
Bradley Stuart Kirton
2c644d4c06 Add pytest-cov
Apply black formatting
Add component_css_dependencies_tag and component_js_dependencies_tag tags
Add convenience methods render_css_dependencies and render_js_dependencies to component class
Create additional test cases
Add license to setup.py
Add pytest.ini config file
2020-07-10 13:07:51 +02:00
Emil Stenström
e9929b1bff
Merge pull request #8 from BradleyKirton/master
Update README
2020-07-08 09:37:20 +02: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
08ca6ad182 Bump version. 2020-07-03 08:25:25 +02:00
Emil Stenström
c5ed0a5d77 Fix packaging bug: By default submodules are not included. 2020-07-03 08:25:19 +02:00
Emil Stenström
a5b64b47b7 Fix spelling. 2020-06-11 22:44:27 +02:00
Emil Stenström
e9d69a1b6c Bump version. 2020-06-11 21:29:57 +02:00
Emil Stenström
3cdcf343ce Fix incorrect URL in setup.py. 2020-06-11 21:29:38 +02:00
Emil Stenström
e143a6f455 Bump version. 2020-06-08 00:06:01 +02:00
Emil Stenström
1e42e2508e Remove stray log statements. 2020-06-08 00:05:39 +02:00
Emil Stenström
5f63a6a6bd Add test for component with undefined template method. 2020-06-07 17:07:24 +02:00
Emil Stenström
ff2a674200 Add flake8 and isort to CI. 2020-06-07 08:46:06 +02:00
Emil Stenström
b2f61b61ad Fix flake8. 2020-06-07 08:45:54 +02:00
Emil Stenström
914476dc36 Bump version. 2020-06-06 11:34:04 +02:00
Emil Stenström
b5eb6f4db1 Call parse_bits in django < 2.0 compatible way. 2020-06-06 11:27:07 +02:00
Emil Stenström
24369fce80 Make parse_bits call backwards compatible. 2020-06-06 09:36:21 +02:00
Emil Stenström
9811a88904 Add backwards compatible getfullargspec and TokenType. 2020-06-06 09:29:51 +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
45ee016169 Bump version. 2020-06-06 09:11:53 +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
f6d2c5e003 Ignore stupid flake8 rule. 2020-06-06 09:10:16 +02:00
Emil Stenström
cb3236e063 Update dependencies. 2020-06-06 09:08:43 +02:00
Emil Stenström
b2726a6832 Contain all registry logic in helper methods. 2020-06-06 09:07:23 +02:00
Emil Stenström
ecba6e3ed9
Merge pull request #5 from EmilStenstrom/dependabot/pip/django-3.0.7
Bump django from 3.0.3 to 3.0.7
2020-06-05 23:31:48 +02:00
dependabot[bot]
614ef904b8
Bump django from 3.0.3 to 3.0.7
Bumps [django](https://github.com/django/django) from 3.0.3 to 3.0.7.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.0.3...3.0.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-05 20:53:19 +00: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
f3eb1d373e Upgrade tox environment to supprort django 3. 2020-02-08 10:30:10 +01:00
Emil Stenström
101f4a0041 Update dev requirements to latest version. 2020-02-08 10:29:57 +01:00
Emil Stenström
5356546efd Rename package and upload to pypi. 2020-02-08 10:22:07 +01:00
Emil Stenström
de59992288 Add more metadata about project. 2020-02-08 10:09:34 +01:00
Emil Stenström
64258b2a06 Replace requirements.txt with requirements-dev.txt and use pip-tools. 2020-02-08 10:09:34 +01:00
Emil Stenström
76b7e4550f
Create LICENSE 2019-11-28 21:38:10 +01:00
Emil Stenström
a52e1a324d
Create CODE_OF_CONDUCT.md 2019-11-28 21:37:41 +01:00
Emil Stenström
1da8977d63
Update README.md 2019-11-24 11:19:06 +01:00
Emil Stenström
9d48a8e93f Add test for passing two variables to template tag. 2019-11-24 11:17:17 +01: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
cbe2bcc9c9 Use six to allow metaclass usage in both Python 2 and 3. 2019-11-24 10:57:55 +01:00
Emil Stenström
f60b443f07 Add test for calling the component template tag with positional arg. 2019-11-24 10:55:57 +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