Skip to content

Commit

Permalink
Merge pull request #4 from Fenny/master
Browse files Browse the repository at this point in the history
Update django.go
  • Loading branch information
Fenny authored May 27, 2020
2 parents c6d8ce5 + ac2b3fd commit 49691da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions django/django.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"path/filepath"
"strings"

"github.com/aymerick/raymond"
"github.com/flosch/pongo2"
)

Expand All @@ -30,7 +29,7 @@ func New(directory, extension string, funcmap ...map[string]interface{}) *Engine
Templates: make(map[string]*pongo2.Template),
}
if len(funcmap) > 0 {
raymond.RegisterHelpers(funcmap[0])
// pongo2.RegisterFilter()
}
if err := engine.load(); err != nil {
log.Fatalf("django.New(): %v", err)
Expand Down

0 comments on commit 49691da

Please sign in to comment.