Added template system to Attract extension.
This commit is contained in:
@@ -57,6 +57,11 @@ class AttractExtension(PillarExtension):
|
||||
"""
|
||||
return [blueprint]
|
||||
|
||||
@property
|
||||
def template_path(self):
|
||||
import os.path
|
||||
return os.path.join(os.path.dirname(__file__), 'templates')
|
||||
|
||||
def setup_app(self, app):
|
||||
"""Connects Blinker signals."""
|
||||
|
||||
|
Reference in New Issue
Block a user