mirror of
https://github.com/django-components/django-components.git
synced 2025-09-26 15:39:08 +00:00
refactor: rename template_name to template_file (#878)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
b99e32e9d5
commit
d94a459c8d
29 changed files with 251 additions and 138 deletions
|
@ -6,7 +6,7 @@ from django_components import Component, register
|
|||
# Used for testing the staticfiles finder in `test_staticfiles.py`
|
||||
@register("staticfiles_component")
|
||||
class RelativeFileWithPathObjComponent(Component):
|
||||
template_name = "staticfiles.html"
|
||||
template_file = "staticfiles.html"
|
||||
|
||||
class Media:
|
||||
js = "staticfiles.js"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue