init commit of new design
This commit is contained in:
@@ -48,7 +48,6 @@ class ContractCreator:
|
||||
template_loader = FileSystemLoader(searchpath="./")
|
||||
template_env = Environment(loader=template_loader)
|
||||
self.template = template_env.get_template(template_path)
|
||||
|
||||
self.pdfkit_options = {
|
||||
'page-size': 'A4',
|
||||
'margin-top': '0.75in',
|
||||
@@ -74,7 +73,7 @@ class ContractCreator:
|
||||
|
||||
|
||||
class UploadHandlerSolar():
|
||||
|
||||
ENABLED_FILETYPES = ['txt', 'csv', 'pdf', 'doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx', 'xml', 'mxliff', 'tmx', 'jpg', 'jpeg', 'png']
|
||||
def __init__(self, **kwargs):
|
||||
self.config = kwargs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user