Skip to content

romanshupak/py-documentation-and-tests

 
 

Repository files navigation

Documentation, throttling, JWT and tests

  • Read the guideline before start
  • After loading data from fixture you can use following superuser (or create another one by yourself):

In this task you will add tests and some advanced things to your project:

  1. 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.

  1. Add throttling settings, it should allow:
    • 10 requests per minute for unauthorized users
    • 30 requests per minute for authorized ones
  2. Add a JWT support for the project.
  3. Cover the whole MovieViewSet with tests.
  4. Check if your code is clean. Delete imports, if you are not using them.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%