Remove trailing spaces.

This commit is contained in:
Emil Stenström 2015-06-14 14:46:07 +02:00
parent 9a91df7978
commit 666c4f70a8

View file

@ -21,7 +21,7 @@ class Calendar(component.Component):
class Media: class Media:
template = "[your app]/components/calendar/calendar.html" template = "[your app]/components/calendar/calendar.html"
css = {'all': ('[your app]/components/calendar/calendar.css',)} 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) 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 extra_media %}{% component_dependencies %}{% endblock %}
{% block main %} {% block main %}
{% component name="calendar" date=custom_date %} {% component name="calendar" date=custom_date %}
{% endblock %} {% endblock %}
``` ```
# Running the tests # Running the tests