moved majority of html into dedicated files and created a loader for the templates to separate code from html
This commit is contained in:
15
src/templates/__init__.py
Normal file
15
src/templates/__init__.py
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
"""
|
||||
Templates package for the deception server.
|
||||
"""
|
||||
|
||||
from .template_loader import load_template, clear_cache, TemplateNotFoundError
|
||||
from . import html_templates
|
||||
|
||||
__all__ = [
|
||||
'load_template',
|
||||
'clear_cache',
|
||||
'TemplateNotFoundError',
|
||||
'html_templates',
|
||||
]
|
||||
Reference in New Issue
Block a user