Skip to content

Commit

Permalink
Add Django REST Framework to settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcantelon committed Dec 1, 2015
1 parent ed37dfc commit d681be1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions storage_service/storage_service/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def get_env_variable(var_name):
)

THIRD_PARTY_APPS = (
'rest_framework', # REST framework
'tastypie', # REST framework
)

Expand All @@ -213,6 +214,9 @@ def get_env_variable(var_name):
INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS
########## END APP CONFIGURATION

REST_FRAMEWORK = {
'PAGE_SIZE': 10
}

########## LOGIN REQUIRED MIDDLEWARE CONFIGURATION

Expand Down

0 comments on commit d681be1

Please sign in to comment.