兰海课程

url_utils.py 171B

    # -*- coding: utf-8 -*- from django.conf import settings def upload_file_url(file_path): return file_path and ('{}{}'.format(settings.DOMAIN, file_path.url)) or ''