Skip to content

Commit ab4c763

Browse files
author
Ryan P Kilby
authored
Fix packaging+README (#182)
1 parent ad28822 commit ab4c763

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@ Can I mix and match ``django-filter`` and ``django-rest-framework-filters``?
335335
Yes you can. ``django-rest-framework-filters`` is simply an extension of ``django-filter``. Note
336336
that ``RelatedFilter`` and other ``django-rest-framework-filters`` features are designed to work
337337
with ``rest_framework_filters.FilterSet`` and will not function on a ``django_filters.FilterSet``.
338-
However, the target ``RelatedFilter.filterset`` may point to a ``FilterSet`` from either package
339-
and ``FilterSet``s from either package are compatible with the other's DRF backend.
338+
However, the target ``RelatedFilter.filterset`` may point to a ``FilterSet`` from either package,
339+
and both ``FilterSet`` implementations are compatible with the other's DRF backend.
340340
341341
.. code-block:: python
342342

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
import os
66

77

8+
with open('README.rst') as f:
9+
README = f.read()
10+
11+
812
def get_packages(package):
913
"""
1014
Return root package and all sub-packages.
@@ -35,6 +39,7 @@ def get_package_data(package):
3539
version='0.10.1',
3640
url='http://github.com/philipn/django-rest-framework-filters',
3741
license='MIT',
42+
long_description=README,
3843
description='Better filtering for Django REST Framework',
3944
author='Philip Neustrom',
4045
author_email='philipn@gmail.com',

0 commit comments

Comments
 (0)