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

This commit is contained in:
imacat committed 2020-07-16 23:03:37 +08:00
1 parent 42e444b8c8
commit a58f6d6d11
8 files changed
+53 -74

No files matched your search

+1 -1
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
@@ -22,6 +22,7 @@ First written: 2020/7/1
{% endcomment %}
{% load i18n %}
{% load humanize %}
{% load mia_core %}
{% load accounting %}
{% block settings %}
@@ -22,6 +22,7 @@ First written: 2020/7/15
{% endcomment %}
{% load i18n %}
{% load humanize %}
{% load mia_core %}
{% load accounting %}
{% block settings %}
@@ -22,6 +22,7 @@ First written: 2020/7/16
{% endcomment %}
{% load i18n %}
{% load humanize %}
{% load mia_core %}
{% load accounting %}
{% block settings %}