Skip to content

Instantly share code, notes, and snippets.

@chrisforrette
Created November 12, 2015 21:20
Show Gist options
  • Save chrisforrette/cf479044a084b34c6ba3 to your computer and use it in GitHub Desktop.
Save chrisforrette/cf479044a084b34c6ba3 to your computer and use it in GitHub Desktop.

Revisions

  1. chrisforrette created this gist Nov 12, 2015.
    5 changes: 5 additions & 0 deletions settings.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    REST_FRAMEWORK = {
    'DEFAULT_PERMISSION_CLASSES': [
    'rest_framework.permissions.IsAuthenticatedOrReadOnly'
    ]
    }