Moved the core custom template filters and tags to the template tag library in the Mia core application.

This commit is contained in:
2020-07-16 23:03:37 +08:00
parent 42e444b8c8
commit a58f6d6d11
8 changed files with 53 additions and 74 deletions

View File

@ -22,7 +22,7 @@ from django.conf import settings
from django.db import models
from django.urls import reverse
from mia_core.template_filters import smart_month
from mia_core.templatetags.mia_core import smart_month
from mia_core.utils import get_multi_language_attr

View File

@ -22,6 +22,7 @@ First written: 2020/7/1
{% endcomment %}
{% load i18n %}
{% load humanize %}
{% load mia_core %}
{% load accounting %}
{% block settings %}

View File

@ -22,6 +22,7 @@ First written: 2020/7/15
{% endcomment %}
{% load i18n %}
{% load humanize %}
{% load mia_core %}
{% load accounting %}
{% block settings %}

View File

@ -22,6 +22,7 @@ First written: 2020/7/16
{% endcomment %}
{% load i18n %}
{% load humanize %}
{% load mia_core %}
{% load accounting %}
{% block settings %}