Skip to content

Commit

Permalink
Update install docs w/ django setting (carltongibson#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan P Kilby authored and Carlton Gibson committed Apr 9, 2017
1 parent d491703 commit 471fdc5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Full documentation on `read the docs`_.

.. image:: https://travis-ci.org/carltongibson/django-filter.svg?branch=master
:target: https://travis-ci.org/carltongibson/django-filter

.. image:: https://codecov.io/gh/carltongibson/django-filter/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/carltongibson/django-filter
:target: https://codecov.io/gh/carltongibson/django-filter

.. image:: https://badge.fury.io/py/django-filter.svg
:target: http://badge.fury.io/py/django-filter
Expand All @@ -32,11 +32,15 @@ Install using pip:
pip install django-filter
Or clone the repo and add to your ``PYTHONPATH``:
Then add ``'django_filters'`` to your ``INSTALLED_APPS``.

.. code-block:: sh
.. code-block:: python
INSTALLED_APPS = [
...
'django_filters',
]
git clone git@github.com:carltongibson/django-filter.git
Usage
-----
Expand Down
7 changes: 7 additions & 0 deletions docs/guide/install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ Django-filter can be installed from PyPI with tools like ``pip``:

Then add ``'django_filters'`` to your ``INSTALLED_APPS``.

.. code-block:: python

INSTALLED_APPS = [
...
'django_filters',
]


Requirements
------------
Expand Down

0 comments on commit 471fdc5

Please sign in to comment.