Add initial Shopfoo pattern feature

data models, import/export, web views etc.
This commit is contained in:
Lance Edgar 2020-08-19 22:21:00 -05:00
parent a7656928f5
commit 852f9d4902
19 changed files with 515 additions and 1 deletions

View file

@ -0,0 +1,18 @@
# -*- coding: utf-8; -*-
"""
Rattail Demo model importers
"""
from rattail.importing.model import ToRattail
from rattail_demo.db import model
##############################
# custom models
##############################
class ShopfooProductImporter(ToRattail):
"""
Importer for ShopfooProduct data
"""
model_class = model.ShopfooProduct