Moved the core custom template filters and tags to the template tag library in the Mia core application.
This commit is contained in:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user