Override the CORE-API -> Rattail Demo importer for Store data

this lets the demo have random extra Store records and the importer will just
ignore them
This commit is contained in:
Lance Edgar 2021-01-28 13:29:22 -06:00
parent 8cb42712fd
commit 4288e1ce64
3 changed files with 37 additions and 3 deletions

View file

@ -26,3 +26,4 @@ class DemoConfigExtension(ConfigExtension):
# default import handlers
config.setdefault('rattail.importing', 'versions.handler', 'rattail_demo.importing.versions:FromRattailDemoToRattailDemoVersions')
config.setdefault('rattail.importing', 'corepos_api.handler', 'rattail_demo.importing.corepos_api:FromCOREPOSToRattail')