28
30
__build__ = get_revision()
30
33
def lazy_object(location):
31
34
def inner(*args, **kwargs):
32
35
parts = location.rsplit('.', 1)
33
warnings.warn('`djangoratings.%s` is deprecated. Please use `%s` instead.' % (parts[1], location), DeprecationWarning)
35
39
imp = __import__(parts[0], globals(), locals(), [parts[1]], -1)