Handle updated templates

This commit is contained in:
PCoder 2020-05-25 11:10:41 +05:30
commit c1473fa374
2 changed files with 10 additions and 1 deletions

View file

@ -763,6 +763,11 @@ PRE_EU_VAT_RATE = float(env('PRE_EU_VAT_RATE'))
VM_BASE_PRICE = float(env('VM_BASE_PRICE'))
UPDATED_TEMPLATES_STR = env('UPDATED_TEMPLATES')
UPDATED_TEMPLATES_DICT = {}
if UPDATED_TEMPLATES_STR:
UPDATED_TEMPLATES_DICT = eval(UPDATED_TEMPLATES_STR)
if DEBUG:
from .local import * # flake8: noqa
else: