- Read the guideline before start
- After loading data from fixture you can use following superuser (or create another one by yourself):
- Email:
[email protected]
- Password:
1qazcde3
- Email:
In this task you will add tests and some advanced things to your project:
- Add Swagger documentation for the whole project.
It should include all query params described, such as:
- filtering by title, genres, actors for movie
- filtering by date, movie for movie session
Remember: don't forget to add description
to your OpenApiParameter
.
- Add throttling settings, it should allow:
- 10 requests per minute for unauthorized users
- 30 requests per minute for authorized ones
- Add a JWT support for the project.
- Cover the whole
MovieViewSet
with tests. - Check if your code is clean. Delete imports, if you are not using them.