Skip to content

Instantly share code, notes, and snippets.

@crohas
Created February 13, 2019 11:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crohas/7e7c087f9bb5b713ed9d2531706e10d6 to your computer and use it in GitHub Desktop.
Save crohas/7e7c087f9bb5b713ed9d2531706e10d6 to your computer and use it in GitHub Desktop.
課題_0213.md
# 課題
- Browsable api にログインできるようにしてみよう
- すべての環境で TokenAuthentication を有効にしてみましょう
- ただし、開発環境だけは SessionAuthentication を有効にしてみましょう
- それ以外環境では SessionAuthentication を無効にします
- tasksアプリの以下のビューをログイン必須にしてみましょう
- `/api/tasks/tags/`
- `/api/tasks/tasks/`
- `/api/tasks/record/`
- 同じグループのユーザのみが閲覧できるユーザ一覧APIを作りましょう
- かならず Permission クラスを使うこと
- シリアライザは accounts.serializers.UserSerializer を使うこと
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment