Source

django-ztask / django_ztask / utils.py

1
2
3
4
5
6
7
8
# -*- coding: utf-8 -*-

from django.conf import settings

def setting(name, default=''): 
    return getattr(settings, name, default)