From 27f762a1c032442d9096347fce9badbf7050d794 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Thu, 16 Jul 2020 22:19:05 +0800 Subject: [PATCH] Removed unused imports --- accounting/models.py | 1 - accounting/views/__init__.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/accounting/models.py b/accounting/models.py index e4e3197..ecf8334 100644 --- a/accounting/models.py +++ b/accounting/models.py @@ -21,7 +21,6 @@ from django.conf import settings from django.db import models from django.urls import reverse -from django.utils import dateformat from mia_core.template_filters import smart_month from mia_core.utils import get_multi_language_attr diff --git a/accounting/views/__init__.py b/accounting/views/__init__.py index f01e9eb..3ece877 100644 --- a/accounting/views/__init__.py +++ b/accounting/views/__init__.py @@ -27,7 +27,7 @@ from django.shortcuts import render from django.urls import reverse from django.utils import dateformat from django.utils.timezone import localdate -from django.utils.translation import get_language, pgettext +from django.utils.translation import pgettext from django.views.decorators.http import require_GET from accounting.models import Record, Transaction, Subject, \