mirror of
https://github.com/django-components/django-components.git
synced 2025-08-30 18:57:20 +00:00
Remove trailing spaces.
This commit is contained in:
parent
9a91df7978
commit
666c4f70a8
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ class Calendar(component.Component):
|
|||
class Media:
|
||||
template = "[your app]/components/calendar/calendar.html"
|
||||
css = {'all': ('[your app]/components/calendar/calendar.css',)}
|
||||
js = ('[your app]/components/calendar/calendar.js',)
|
||||
js = ('[your app]/components/calendar/calendar.js',)
|
||||
|
||||
component.register(name="calendar", component=Calendar)
|
||||
```
|
||||
|
@ -33,7 +33,7 @@ In your templates, use your component by first importing the django_components t
|
|||
{% block extra_media %}{% component_dependencies %}{% endblock %}
|
||||
{% block main %}
|
||||
{% component name="calendar" date=custom_date %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
```
|
||||
|
||||
# Running the tests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue