Skip to content

Instantly share code, notes, and snippets.

@carltongibson
Last active November 28, 2016 15:19
Show Gist options
  • Save carltongibson/2928d35c92a9159743ef88353a8bbf50 to your computer and use it in GitHub Desktop.
Save carltongibson/2928d35c92a9159743ef88353a8bbf50 to your computer and use it in GitHub Desktop.
Django Filters 1.0.1 Install check
Last login: Mon Nov 28 15:49:38 on ttys002
~ $ mkvirtualenv df-import-test
Using base prefix '/Users/carlton/.pyenv/versions/3.5.0'
New python executable in df-import-test/bin/python3.5
Also creating executable in df-import-test/bin/python
Installing setuptools, pip, wheel...done.
(df-import-test)~ $ pip install Django djangorestframework django-filter
Collecting Django
Using cached Django-1.10.3-py2.py3-none-any.whl
Collecting djangorestframework
Downloading djangorestframework-3.5.3-py2.py3-none-any.whl (709kB)
100% |████████████████████████████████| 712kB 546kB/s
Collecting django-filter
Downloading django_filter-1.0.1-py2.py3-none-any.whl (54kB)
100% |████████████████████████████████| 57kB 1.5MB/s
Installing collected packages: Django, djangorestframework, django-filter
Successfully installed Django-1.10.3 django-filter-1.0.1 djangorestframework-3.5.3
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(df-import-test)~ $ python
Python 3.5.0 (default, Sep 15 2015, 13:36:21)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.72)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from django.conf import settings
>>> settings.configure(SECRET_KEY="123abc")
>>> import django_filters
>>> django_filters.rest_framework
<module 'django_filters.rest_framework' from '/Users/carlton/ve/df-import-test/lib/python3.5/site-packages/django_filters/rest_framework/__init__.py'>
>>>
@carltongibson
Copy link
Author

>>> import django_filters
>>> django_filters.rest_framework
<module 'django_filters.rest_framework' from '/Users/carlton/ve/df-import-test/lib/python3.5/site-packages/django_filters/rest_framework/__init__.py'>

encode/django-rest-framework#4710

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment