Loading docs/faq.txt +1 −1 Original line number Diff line number Diff line Loading @@ -425,7 +425,7 @@ Using a ``FileField`` or an ``ImageField`` in a model takes a few steps: of ``MEDIA_ROOT`` it should upload files. #. All that will be stored in your database is a path to the file (relative to ``MEDIA_ROOT``). You'll must likely want to use the (relative to ``MEDIA_ROOT``). You'll most likely want to use the convenience ``get_<fieldname>_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 Loading Loading
docs/faq.txt +1 −1 Original line number Diff line number Diff line Loading @@ -425,7 +425,7 @@ Using a ``FileField`` or an ``ImageField`` in a model takes a few steps: of ``MEDIA_ROOT`` it should upload files. #. All that will be stored in your database is a path to the file (relative to ``MEDIA_ROOT``). You'll must likely want to use the (relative to ``MEDIA_ROOT``). You'll most likely want to use the convenience ``get_<fieldname>_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 Loading