摘要:
from django.db.models import get_app, get_models, get_modelfrom django.db import models#get the certain modelsisense_model=get_model('fastlogin','sis_... 阅读全文
摘要:
For we need to connect the postgres db in project very frequently, so write the follows class: 1 import psycopg2 2 #finish the work with task schedule... 阅读全文
摘要:
In everbright task schedule project, we need some daemon process to do certain work, here is a example of daemon class: 1 #encoding=utf-8 2 #!/usr/b... 阅读全文
摘要:
When working ALU IMS Patch team, we need to static the SU duration to add it to the patch report, the duration time alway is hard work, so I write the... 阅读全文
摘要:
Some time we need to record the logging information in multiple module, however if we use the follows logging configuration would lead the log cannot ... 阅读全文