Moved the pagination and the page number out of range error from the accounting application to the Mia core application.

This commit is contained in:
2020-07-07 20:54:35 +08:00
parent c0f664761e
commit d48d1b017a
3 changed files with 45 additions and 43 deletions

View File

@ -28,11 +28,11 @@ from django.views import generic
from django.views.decorators.http import require_GET
from accounting.models import Record
from accounting.utils import PeriodParser, Pagination, \
PageNoOutOfRangeError
from accounting.utils import PeriodParser
from mia import settings
from mia_core.digest_auth import digest_login_required
from mia_core.utils import UrlBuilder
from mia_core.utils import UrlBuilder, Pagination, \
PageNoOutOfRangeError
@require_GET