Loading docs/topics/files.txt +2 −2 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ When you use a :class:`~django.db.models.FileField` or :class:`~django.db.models.ImageField`, Django provides a set of APIs you can use to deal with that file. Consider the following model, using a ``FileField`` to store a photo:: Consider the following model, using an ``ImageField`` to store a photo:: class Car(models.Model): name = models.CharField(max_length=255) Loading Loading
docs/topics/files.txt +2 −2 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ When you use a :class:`~django.db.models.FileField` or :class:`~django.db.models.ImageField`, Django provides a set of APIs you can use to deal with that file. Consider the following model, using a ``FileField`` to store a photo:: Consider the following model, using an ``ImageField`` to store a photo:: class Car(models.Model): name = models.CharField(max_length=255) Loading