mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-04-21 13:34:43 +00:00
Removing Pillow from requirements.txt and adding a note about PIL/Pillow to the README. References #72.
This commit is contained in:
parent
c16b008a34
commit
2a275f094c
2 changed files with 12 additions and 3 deletions
14
README.rst
14
README.rst
|
|
@ -6,9 +6,19 @@ like different sizes (e.g. thumbnails) and black and white versions.
|
|||
Installation
|
||||
------------
|
||||
|
||||
1. ``pip install django-imagekit``
|
||||
1. Install `PIL`_ or `Pillow`_. If you're using `ImageField`s in Django, you
|
||||
should have already done this.
|
||||
2. ``pip install django-imagekit``
|
||||
(or clone the source and put the imagekit module on your path)
|
||||
2. Add ``'imagekit'`` to your ``INSTALLED_APPS`` list in your project's settings.py
|
||||
3. Add ``'imagekit'`` to your ``INSTALLED_APPS`` list in your project's settings.py
|
||||
|
||||
.. note:: If you've never seen Pillow before, it considers itself a
|
||||
more-frequently updated "friendly" fork of PIL that's compatible with
|
||||
setuptools. As such, it shares the same namespace as PIL does and is a
|
||||
drop-in replacement.
|
||||
|
||||
.. _`PIL`: http://pypi.python.org/pypi/PIL
|
||||
.. _`Pillow`: http://pypi.python.org/pypi/Pillow
|
||||
|
||||
|
||||
Adding Specs to a Model
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
Django >= 1.3.1
|
||||
Pillow >= 1.7.5
|
||||
|
|
|
|||
Loading…
Reference in a new issue