diff --git a/django_boost/templatetags/boost.py b/django_boost/templatetags/boost.py index dad47d5..1fa4a94 100644 --- a/django_boost/templatetags/boost.py +++ b/django_boost/templatetags/boost.py @@ -1,3 +1,5 @@ +"""This module provides python build-in functions for django template.""" + from ast import literal_eval from itertools import chain, zip_longest from warnings import warn diff --git a/django_boost/templatetags/boost_query.py b/django_boost/templatetags/boost_query.py index 00eb624..8c12705 100644 --- a/django_boost/templatetags/boost_query.py +++ b/django_boost/templatetags/boost_query.py @@ -1,3 +1,5 @@ +"""This module provides queryset methods for django template.""" + from django import template register = template.Library() diff --git a/django_boost/templatetags/boost_url.py b/django_boost/templatetags/boost_url.py index f37f95f..68d4a76 100644 --- a/django_boost/templatetags/boost_url.py +++ b/django_boost/templatetags/boost_url.py @@ -1,3 +1,5 @@ +"""This module provides URL utility for django template.""" + from urllib import parse from django.template import Library diff --git a/django_boost/templatetags/mimetype.py b/django_boost/templatetags/mimetype.py index 4138f19..c3b4d2b 100644 --- a/django_boost/templatetags/mimetype.py +++ b/django_boost/templatetags/mimetype.py @@ -1,3 +1,5 @@ +"""This module provides mimetypes utility for django template.""" + from mimetypes import guess_type from django.template import Library