From 6f604f1c86e4f57fa767a0a714583c28c7d6f4b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Wed, 8 Jul 2020 07:24:36 +0800 Subject: [PATCH] Revised the documentation. --- mia_core/digest_auth.py | 3 ++- mia_core/models.py | 2 +- mia_core/period.py | 2 +- mia_core/templatefilters.py | 5 +++++ mia_core/templatetags.py | 4 ++++ mia_core/utils.py | 2 +- mia_core/views.py | 2 +- 7 files changed, 15 insertions(+), 5 deletions(-) diff --git a/mia_core/digest_auth.py b/mia_core/digest_auth.py index ca655c8..85ec518 100644 --- a/mia_core/digest_auth.py +++ b/mia_core/digest_auth.py @@ -15,7 +15,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""The utilities for the HTTP digest authentication. +"""The HTTP digest authentication utilities of the Mia core +application. """ from functools import wraps diff --git a/mia_core/models.py b/mia_core/models.py index 75c5fd6..5eb98ad 100644 --- a/mia_core/models.py +++ b/mia_core/models.py @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""The data models of the mia core application. +"""The data models of the Mia core application. """ diff --git a/mia_core/period.py b/mia_core/period.py index e336943..21116a3 100644 --- a/mia_core/period.py +++ b/mia_core/period.py @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""The utilities of the period chooser of the Mia core application. +"""The period chooser utilities of the Mia core application. """ diff --git a/mia_core/templatefilters.py b/mia_core/templatefilters.py index cf4a97c..0a960d3 100644 --- a/mia_core/templatefilters.py +++ b/mia_core/templatefilters.py @@ -14,6 +14,11 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + +"""The template filters of the Mia core application. + +""" + from datetime import date from django import template diff --git a/mia_core/templatetags.py b/mia_core/templatetags.py index b357354..7f39b5b 100644 --- a/mia_core/templatetags.py +++ b/mia_core/templatetags.py @@ -15,6 +15,10 @@ # See the License for the specific language governing permissions and # limitations under the License. +"""The template tags of the Mia core application. + +""" + from django import template register = template.Library() diff --git a/mia_core/utils.py b/mia_core/utils.py index f81dc99..e72027d 100644 --- a/mia_core/utils.py +++ b/mia_core/utils.py @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""The views of the mia core application. +"""The views of the Mia core application. """ diff --git a/mia_core/views.py b/mia_core/views.py index 342ecd0..f552aee 100644 --- a/mia_core/views.py +++ b/mia_core/views.py @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""The views of the mia core application. +"""The views of the Mia core application. """