mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
fixes, i18n, sitemap generator and new examples
Former-commit-id: 54801dc705ee0fa66232f65063f8a68c9cc31921
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
|
||||
"github.com/kataras/iris/v12/context"
|
||||
|
||||
"github.com/flosch/pongo2"
|
||||
"github.com/iris-contrib/pongo2"
|
||||
)
|
||||
|
||||
type (
|
||||
@@ -100,7 +100,7 @@ type DjangoEngine struct {
|
||||
rmu sync.RWMutex // locks for filters, globals and `ExecuteWiter` when `reload` is true.
|
||||
// filters for pongo2, map[name of the filter] the filter function . The filters are auto register
|
||||
filters map[string]FilterFunction
|
||||
// globals share context fields between templates. https://github.com/flosch/pongo2/issues/35
|
||||
// globals share context fields between templates.
|
||||
globals map[string]interface{}
|
||||
mu sync.Mutex // locks for template cache
|
||||
templateCache map[string]*pongo2.Template
|
||||
|
||||
Reference in New Issue
Block a user