diff --git a/README.rst b/README.rst index cb95307..8108156 100644 --- a/README.rst +++ b/README.rst @@ -54,7 +54,7 @@ With Django SystemJS you can replace this with:: {% load system_tags %} - {% system_import 'my/awesome/app' %} + {% systemjs_import 'my/awesome/app' %} If `SYSTEMJS_ENABLED` is `False` (default value is `not DEBUG`), @@ -71,7 +71,7 @@ Management command Django SystemJS comes with a management command to create all the bundles. It does so by checking all your template files and -extracting the `{% system_import '...' %}` template tags.:: +extracting the `{% systemjs_import '...' %}` template tags.:: python manage.py systemjs_bundle diff --git a/systemjs/templatetags/system_tags.py b/systemjs/templatetags/system_tags.py index d1b4896..a985c56 100644 --- a/systemjs/templatetags/system_tags.py +++ b/systemjs/templatetags/system_tags.py @@ -48,11 +48,11 @@ def systemjs_import(parser, token): Syntax:: - {% system_import 'path/to/file' %} + {% systemjs_import 'path/to/file' %} Example:: - {% system_import 'mydjangoapp/js/myapp' %} + {% systemjs_import 'mydjangoapp/js/myapp' %} Which would be rendered like::