__init__.py 196 B

12345
  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)