forms.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:django-codenerix-products 作者: centrologic 项目源码 文件源码
def __groups__(self):
        g = [
            (
                _('Details'), 12,
                ['code', 4],
                ['price_base', 4],
                ['public', 1],
                ['of_sales', 1],
                ['of_purchase', 1],
                ['force_stock', 1],
                ['model', 4],
                ['brand', 4],
                ['feature_special', 4],
                ['family', 4],
                ['category', 4],
                ['subcategory', 4],
                ['tax', 4],
                ['url_video', 4],
            ),
            (
                _('Packaging information'), 12,
                ['packing_cost', 4],
                ['weight', 4],
            )
        ]
        return g
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号