Loading docs/files.txt +16 −16 Original line number Diff line number Diff line Loading @@ -61,9 +61,9 @@ Creating ``File`` instances --------------------------- Most of the time you'll simply use a ``File`` that Django's given you (i.e. a file attached to an model as above, or perhaps an `uploaded file`_). file attached to a model as above, or perhaps an `uploaded file`_). .. _uploaded file: ../uploading_files/ .. _uploaded file: ../upload_handling/ If you need to construct a ``File`` yourself, the easiest way is to create one using a Python built-in ``file`` object:: Loading Loading
docs/files.txt +16 −16 Original line number Diff line number Diff line Loading @@ -61,9 +61,9 @@ Creating ``File`` instances --------------------------- Most of the time you'll simply use a ``File`` that Django's given you (i.e. a file attached to an model as above, or perhaps an `uploaded file`_). file attached to a model as above, or perhaps an `uploaded file`_). .. _uploaded file: ../uploading_files/ .. _uploaded file: ../upload_handling/ If you need to construct a ``File`` yourself, the easiest way is to create one using a Python built-in ``file`` object:: Loading