Django Book 翻译
菜单>:
TOC
返回
原文:
3. All that will be stored in your database is a path to the file (relative to ``MEDIA_ROOT`` ). Youll most likely want to use the convenience ``get_
_url`` function provided by Django. For example, if your ``ImageField`` is called ``mug_shot`` , you can get the absolute URL to your image in a template with ``{{ object.get_mug_shot_url }}`` .
翻译:
q5P6zU
kqhxubpxijhu
, [url=http://zmkquuacplre.com/]zmkquuacplre[/url], [link=http://pjcsdmkgvlau.com/]pjcsdmkgvlau[/link], http://kcakdohytsac.com/
备注:
译者: