From 03ed0071ee2bb42c6e94f91c4c7be6331d09b2a5 Mon Sep 17 00:00:00 2001 From: Drew Larson Date: Thu, 23 Jun 2016 11:00:15 -0600 Subject: [PATCH] Install DRF. I need to use the model serializers. --- bikeshop_project/bikeshop/settings/base.py | 1 + requirements/base.txt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bikeshop_project/bikeshop/settings/base.py b/bikeshop_project/bikeshop/settings/base.py index 9982cf9..8d9c7ac 100644 --- a/bikeshop_project/bikeshop/settings/base.py +++ b/bikeshop_project/bikeshop/settings/base.py @@ -32,6 +32,7 @@ INSTALLED_APPS = [ 'haystack', 'webpack_loader', 'compressor', + 'rest_framework', 'registration', 'core', diff --git a/requirements/base.txt b/requirements/base.txt index 65f86f8..9e31ed2 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -6,4 +6,5 @@ django-libsass==0.6 django_compressor==2.0 python-dateutil==2.5.3 whoosh==2.7.4 -git+git://github.com/django-haystack/django-haystack.git \ No newline at end of file +git+git://github.com/django-haystack/django-haystack.git +djangorestframework \ No newline at end of file