__init__.py 195 B

123456
  1. #coding=utf-8
  2. def customer_log(customer, type, description, data=None):
  3. from apps.log.models import BizLog
  4. BizLog.objects.addnew(customer.tenant, customer.user, type, description, data)