Mark some import handlers as safe for web app
This commit is contained in:
parent
3140245857
commit
9045965035
|
@ -56,6 +56,7 @@ class FromRattailToCore(importing.FromRattailHandler, ToCOREAPIHandler):
|
|||
Rattail -> CORE-POS export handler
|
||||
"""
|
||||
direction = 'export'
|
||||
safe_for_web_app = True
|
||||
|
||||
def get_importers(self):
|
||||
importers = OrderedDict()
|
||||
|
|
|
@ -51,6 +51,7 @@ class FromCOREPOSToRattail(importing.ToRattailHandler):
|
|||
host_key = 'corepos_api'
|
||||
generic_host_title = "CORE Office (API)"
|
||||
host_title = "CORE-POS (API)"
|
||||
safe_for_web_app = True
|
||||
|
||||
def get_importers(self):
|
||||
importers = OrderedDict()
|
||||
|
|
Loading…
Reference in a new issue