From f8399e75ebd9478cf0b7f969739cb4b6e0858ddc Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Tue, 16 Jan 2024 14:46:22 +0100 Subject: [PATCH] Added installation instructions. (#13) --- README.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.rst b/README.rst index 728d702..c69163e 100644 --- a/README.rst +++ b/README.rst @@ -78,6 +78,21 @@ templates instead. Note that the properties on the ``image`` file do by design not check whether thumbs exist. +Installation +============ + +Install from PyPI: ``pip install django-imagefield``. + +Then add ``imagefield`` to your project's ``INSTALLED_APPS``:: + + # settings.py + INSTALLED_APPS = [ + ... + "imagefield", + ... + ] + + Usage =====