Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add Django REST Framework to project

Marcin Gębala98a3c1e5e7f7
diff --git a/saleor/settings.py b/saleor/settings.py
index cce8ab14b6..7d0f2ef94b 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -129,6 +129,7 @@ INSTALLED_APPS = [
'payments',
'selectable',
'materializecssform',
+ 'rest_framework',
]
LOGGING = {
diff --git a/setup.py b/setup.py
index 0fb1f9f328..83a5a107d7 100755
--- a/setup.py
+++ b/setup.py
@@ -35,6 +35,7 @@ setup(
'satchless>=1.1.2,<1.2a0',
'unidecode',
'django-materializecss-form==0.0.64',
+ 'djangorestframework>3.1'
],
extras_require={
'PaaS': [