From 2e787008573bf879b1fe291c6946fd7b589ac5ac Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 18 Oct 2016 13:56:33 +0200 Subject: [PATCH] disable self-adhesive wallpaper material --- api/models/product.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/models/product.py b/api/models/product.py index 53b4c58..7914254 100644 --- a/api/models/product.py +++ b/api/models/product.py @@ -28,7 +28,8 @@ class Material(db.Model): query_class = MaterialQuery WALLPAPER_MATERIALS = ['standard-wallpaper', - 'self-adhesive-wallpaper', 'premium-wallpaper'] + # 'self-adhesive-wallpaper', // isn't sold now + 'premium-wallpaper'] CANVAS_MATERIALS = ['standard-canvas'] id = db.Column('materialid', db.Integer, primary_key=True)