mirror of
https://github.com/kataras/iris.git
synced 2026-01-25 21:05:56 +00:00
New: i18n pluralization and variables support and more...
fixes: #1649, #1648, #1641, #1650 relative to: #1597
This commit is contained in:
@@ -136,7 +136,13 @@ func (s *DjangoEngine) RootDir(root string) *DjangoEngine {
|
||||
return s
|
||||
}
|
||||
|
||||
// Name returns the django engine's name.
|
||||
func (s *DjangoEngine) Name() string {
|
||||
return "Django"
|
||||
}
|
||||
|
||||
// Ext returns the file extension which this view engine is responsible to render.
|
||||
// If the filename extension on ExecuteWriter is empty then this is appended.
|
||||
func (s *DjangoEngine) Ext() string {
|
||||
return s.extension
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user