рдкреНрд░реЛрдЧреНрд░рд╛рдорд┐рдВрдЧ рд╕реНрдХрд┐рд▓реНрд╕

Django REST Framework test for hiring

See how candidates reason about Django REST Framework code and API behavior.

  • 10 рдорд┐рдирдЯ
  • 15 рд╕рд╡рд╛рд▓
  • рдордзреНрдпрдо рд╕реНрддрд░
  • рдмрд╣реБрд╡рд┐рдХрд▓реНрдкреАрдп
  • рдЕрдВрдЧреНрд░реЗрдЬрд╝реА рдореЗрдВ рдкреНрд░рд╢реНрди
  • рдлреЛрди рдФрд░ рдбреЗрд╕реНрдХрдЯреЙрдк

рдЫреЛрдЯрд╛ рдЬрд╡рд╛рдм

This 10-minute, 15-question Django REST Framework test is for intermediate back-end and full-stack developers who build or maintain REST APIs with Python and Django. Multiple-choice questions use small code snippets and realistic situations to assess API models and queries, serializers, views and viewsets, routing, authentication and permissions. Candidates identify code behavior or a change that gets the requested result.

рдпрд╣ рдХреНрдпрд╛ рдорд╛рдкрддрд╛ рд╣реИ

Practical knowledge of Django REST Framework: models and queries behind an API, serializers, views and viewsets, and routing, authentication and permissions.

Models and ORM in APIs

Candidates work out how models and queries supply the data an API returns.

Serializers

Candidates read serializer code and decide what it does with incoming and outgoing data.

Views and viewsets

Candidates judge how a view or viewset handles a request and which change gives the behavior asked for.

Routing, auth and API essentials

Candidates reason about how URLs are routed and which requests an authentication or permission setting lets through.

рдкреНрд░рд╢реНрдиреЛрдВ рдХреЗ рдлрд╝реЙрд░реНрдореИрдЯ

рдмрд╣реБрд╡рд┐рдХрд▓реНрдкреАрдп

рдЙрдореНрдореАрджрд╡рд╛рд░: рдПрдХ рдЫреЛрдЯреА рд╕реНрдерд┐рддрд┐, рддрд╛рд▓рд┐рдХрд╛ рдпрд╛ рдХрдерди рдкрдврд╝рдХрд░ рд╕рд╣реА рдЬрд╡рд╛рдм рдпрд╛ рд╕рднреА рд╕рд╣реА рдЬрд╡рд╛рдм рдЪреБрдирддрд╛ рд╣реИред

рдЖрдкрдХреЛ рджрд┐рдЦрддрд╛ рд╣реИ: рдХреНрдпрд╛ рдЙрдореНрдореАрджрд╡рд╛рд░ рд╕рд╛рдордЧреНрд░реА рдХреЛ рд╕рд┐рд░реНрдлрд╝ рдкрд╣рдЪрд╛рдирдиреЗ рдХреЗ рдмрдЬрд╛рдп, рдЙрд╕реЗ рд▓рд╛рдЧреВ рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП рдкрд░реНрдпрд╛рдкреНрдд рд░реВрдк рд╕реЗ рдЬрд╛рдирддрд╛ рд╣реИред

10 рдорд┐рдирдЯ рдореЗрдВ 15 рдкреНрд░рд╢реНрди, рдПрдХ-рдПрдХ рдХрд░рдХреЗ рджрд┐рдП рдЬрд╛рдПрдБрдЧреЗред

рдпрд╣ рдЯреЗрд╕реНрдЯ рдХрд┐рди рднреВрдорд┐рдХрд╛рдУрдВ рдХреЗ рд▓рд┐рдП рдЙрдкрдпреБрдХреНрдд рд╣реИ

Back-end and full-stack developers who build or maintain REST APIs with Python and Django, at a working (intermediate) level.

What this test can show

  1. Reasoning from code

    Small code excerpts ask candidates to identify behavior or choose a change that produces a requested API result.

  2. Who gets through

    Authentication and permissions questions show whether a candidate can tell which requests an API will accept before the code ships.

  3. Serializer and viewset choices

    Questions ask which change to a serializer or viewset gets the behavior asked for, an everyday decision in a Django REST Framework codebase.

  4. Current code context

    Code follows current Django and Django REST Framework releases and avoids features that behave differently between recent versions.

рд╣рд░ рдЙрдореНрдореАрджрд╡рд╛рд░ рдХреЗ рд▓рд┐рдП рдЖрдкрдХреЛ рдХреНрдпрд╛ рдорд┐рд▓рддрд╛ рд╣реИ

рдЙрджрд╛рд╣рд░рдг рд░рд┐рдкреЛрд░реНрдЯ (рдХрд╛рд▓реНрдкрдирд┐рдХ рдбреЗрдЯрд╛)Django REST Framework (DRF)
71%рдкрд░реНрд╕реЗрдВрдЯрд╛рдЗрд▓ 46ред рдмреЗрдВрдЪрдорд╛рд░реНрдХ: HireValid рдХреЗ рдЙрдореНрдореАрджрд╡рд╛рд░, n = 247
Models and ORM in APIs71%
Serializers64%
Views and viewsets85%
Routing, auth and API essentials62%
Integrity ScoreрдЙрдЪреНрдЪ рднрд░реЛрд╕рд╛
  • рдкреВрд░реЗ рдЯреЗрд╕реНрдЯ рдХреЗ рджреМрд░рд╛рди рдЯреЗрд╕реНрдЯ рдЯреИрдм рдкрд░ рд░рд╣реЗ
  • рдЬрд╡рд╛рдм рдХреЙрдкреА-рдкреЗрд╕реНрдЯ рдирд╣реАрдВ рдХрд┐рдП рдЧрдП
  • рдПрдХ рд╕реНрдерд┐рд░ рдЧрддрд┐ рд╕реЗ рдЬрд╡рд╛рдм рджрд┐рдП

рд╕реНрдХреЛрд░, рдкреНрд░реЛрдлрд╝рд╛рдЗрд▓ рдФрд░ Integrity Score рдХреЗ рд╕рдВрдХреЗрдд рдЗрдВрдЯрд░рд╡реНрдпреВ рдХреЗ рд╕рд╛рде рдЖрдкрдХреА рд╕рдореАрдХреНрд╖рд╛ рдХреЗ рд▓рд┐рдП рд╕рдмреВрдд рд╣реИрдВ, рдЕрдкрдиреЗ-рдЖрдк рд▓рд┐рдпрд╛ рдЧрдпрд╛ рдирд┐рд░реНрдгрдп рдХрднреА рдирд╣реАрдВред

рдЗрд╕ рдЯреЗрд╕реНрдЯ рдХрд╛ рдореБрдлрд╝реНрдд рдореЗрдВ рдЗрд╕реНрддреЗрдорд╛рд▓ рдХрд░реЗрдВ

Test integrity signals

Each candidate receives a different set of questions from large question pools. Questions appear in a different order for each attempt, with answer options shuffled. The browser displays one question at a time, and answer keys stay on HireValidтАЩs servers. Server timing means reloading restores the same question with only the time left. Question text cannot be selected or copied; a blocked copy attempt is recorded in the timeline. HireValid records signals such as time away from the test tab, pastes into answers and answers faster than a question can be read. The employer reviews the Integrity Score and evidence timeline; neither makes a decision on its own. With the candidateтАЩs consent, random webcam photos can be added. Read how HireValid builds its tests.

Use the score as evidence

Review the score alongside a work sample that asks the candidate to build or maintain a REST API with Python and Django. Then use the same structured interview questions for each candidate. Discuss their reasoning about models and queries, serializers, views and viewsets, or routing and permissions. Treat the test score as evidence for your review, not as a decision by itself. You can also compare its scope with the Django test and read our pre-employment testing guide.

Structured interview questions

  1. An order endpoint returns data differently than the team needs. How would you investigate the API code and decide what to change?

    Listen for a reasoned approach to tracing models and queries, serializers, and the endpointтАЩs behavior.

  2. A booking API needs a new behavior. How would you work through the view or viewset and its routing?

    Listen for a practical explanation of how the candidate would connect the requested behavior to views and routing.

  3. How would you assess an authentication or permissions issue in an inventory API?

    Listen for a relevant way to investigate authentication and permissions in the API context.

рдирд┐рд╖реНрдкрдХреНрд╖рддрд╛ рдФрд░ рдЬрд╝рд░реВрд░реА рд╕реБрд╡рд┐рдзрд╛рдПрдБ

Questions use neutral business examples such as orders, tickets, bookings and inventory, with plain English, no idioms and no knowledge of any country, currency or culture. Code follows current Django and Django REST Framework releases and avoids features that behave differently between recent versions. Every question is short enough to read and answer within its time, and names in the code come from many backgrounds.

рдЖрдк рдХрд┐рд╕реА рднреА рдЙрдореНрдореАрджрд╡рд╛рд░ рдХреЛ рд╕реБрд╡рд┐рдзрд╛ рдХреЗ рддреМрд░ рдкрд░ рдЕрддрд┐рд░рд┐рдХреНрдд рд╕рдордп рджреЗ рд╕рдХрддреЗ рд╣реИрдВред рдирддреАрдЬреЗ рдХрд┐рд╕реА рд╡реНрдпрдХреНрддрд┐ рджреНрд╡рд╛рд░рд╛ рд╕рдореАрдХреНрд╖рд╛ рдХреЗ рд▓рд┐рдП рд╕рдмреВрдд рд╣реИрдВ, рдХрднреА рднреА рдЕрдкрдиреЗ-рдЖрдк рд▓рд┐рдпрд╛ рдЧрдпрд╛ рдлрд╝реИрд╕рд▓рд╛ рдирд╣реАрдВред

Provisional: reliability is reported once 200 candidates have completed it.

рд╣рдорд╛рд░рд╛ рдирд┐рд╖реНрдкрдХреНрд╖рддрд╛ рджреГрд╖реНрдЯрд┐рдХреЛрдг рдкрдврд╝реЗрдВ

рдЯреЗрд╕реНрдЯ рдХреА рдЬрд╛рдирдХрд╛рд░реА

A short, timed check of hands-on skill with Django REST Framework for building web APIs in Python. Questions show small pieces of code and realistic situations about models and queries, serializers, views and viewsets, routing, authentication and permissions, and ask what the code does or which change gets the behavior asked for.

  • рдкреНрд░рд╢реНрди English рдореЗрдВ рд╣реИрдВред
  • рдХрд┐рд╕реА рд╕рд╣рд╛рдпрддрд╛ рд╕рд╛рдордЧреНрд░реА рдХреА рдЬрд╝рд░реВрд░рдд рдирд╣реАрдВ рд╣реИред
  • рд╣рд░ рд╕рд╡рд╛рд▓ рдХрд╛ рдЬрд╡рд╛рдм рдХреНрд░рдо рд╕реЗ рдПрдХ рд╣реА рдмрд╛рд░ рджрд┐рдпрд╛ рдЬрд╛рддрд╛ рд╣реИред рдкрд┐рдЫрд▓реЗ рд╕рд╡рд╛рд▓ рдкрд░ рд╡рд╛рдкрд╕ рдирд╣реАрдВ рдЬрд╛ рд╕рдХрддреЗред
  • рд╕рдордпрдмрджреНрдз рдЯреЗрд╕реНрдЯ рд╕реЗ рдкрд╣рд▓реЗ 4 рдЕрднреНрдпрд╛рд╕ рдкреНрд░рд╢реНрди, 4 рдорд┐рдирдЯред

Django, Django REST Framework, Python рдЕрдкрдиреЗ рдорд╛рд▓рд┐рдХреЛрдВ рдХреЗ рдЯреНрд░реЗрдбрдорд╛рд░реНрдХ рд╣реИрдВред HireValid рдЙрдирд╕реЗ рд╕рдВрдмрджреНрдз рдирд╣реАрдВ рд╣реИ рдФрд░ рди рд╣реА рдЙрдирдХрд╛ рд╕рдорд░реНрдерди рдкреНрд░рд╛рдкреНрдд рд╣реИред

рдЕрдХреНрд╕рд░ рдкреВрдЫреЗ рдЬрд╛рдиреЗ рд╡рд╛рд▓реЗ рд╕рд╡рд╛рд▓

What is the format of the Django REST Framework test?+

It has 15 questions in 10 minutes. Some have one correct answer and others ask for every option that applies. Each question is answered once, in order, with no going back, and the test works on a phone or a desktop. A separate practice set has 4 questions and takes 4 minutes.

How are questions in the Django REST Framework test made fair?+

Scenarios use neutral examples such as orders, tickets, bookings and inventory. The questions use plain English, avoid idioms and do not require knowledge of a country, currency or culture. Code follows current Django and Django REST Framework releases and avoids features that behave differently between recent versions.

Can candidates use aids during the Django REST Framework test?+

No aids are allowed. Code excerpts are short enough to read and answer within the time, so candidates reason about what a serializer, view or permission does from the code on the screen rather than from documentation.

Who should take the Django REST Framework test?+

It is intended for intermediate back-end and full-stack developers who build or maintain REST APIs with Python and Django. It checks practical work with serializers, API views and viewsets, and routing and permissions, so consider whether those responsibilities match the role.

рд╕рдВрдмрдВрдзрд┐рдд рдЯреЗрд╕реНрдЯ

рдкреНрд░реЛрдЧреНрд░рд╛рдорд┐рдВрдЧ рд╕реНрдХрд┐рд▓реНрд╕

Django

10 рдорд┐рдирдЯ, рдкреНрд░реЛрдЧреНрд░рд╛рдорд┐рдВрдЧ рд╕реНрдХрд┐рд▓реНрд╕

рдЬрд╛рдиреЗрдВ
рдкреНрд░реЛрдЧреНрд░рд╛рдорд┐рдВрдЧ рд╕реНрдХрд┐рд▓реНрд╕

Ruby on Rails

10 рдорд┐рдирдЯ, рдкреНрд░реЛрдЧреНрд░рд╛рдорд┐рдВрдЧ рд╕реНрдХрд┐рд▓реНрд╕

рдЬрд╛рдиреЗрдВ
рдкреНрд░реЛрдЧреНрд░рд╛рдорд┐рдВрдЧ рд╕реНрдХрд┐рд▓реНрд╕

Flask

10 рдорд┐рдирдЯ, рдкреНрд░реЛрдЧреНрд░рд╛рдорд┐рдВрдЧ рд╕реНрдХрд┐рд▓реНрд╕

рдЬрд╛рдиреЗрдВ
рдкреНрд░реЛрдЧреНрд░рд╛рдорд┐рдВрдЧ рд╕реНрдХрд┐рд▓реНрд╕

Node.js

10 рдорд┐рдирдЯ, рдкреНрд░реЛрдЧреНрд░рд╛рдорд┐рдВрдЧ рд╕реНрдХрд┐рд▓реНрд╕

рдЬрд╛рдиреЗрдВ
рдкреНрд░реЛрдЧреНрд░рд╛рдорд┐рдВрдЧ рд╕реНрдХрд┐рд▓реНрд╕

ASP.NET (ASP.NET Core рд╕рд╣рд┐рдд)

10 рдорд┐рдирдЯ, рдкреНрд░реЛрдЧреНрд░рд╛рдорд┐рдВрдЧ рд╕реНрдХрд┐рд▓реНрд╕

рдЬрд╛рдиреЗрдВ
рдкреНрд░реЛрдЧреНрд░рд╛рдорд┐рдВрдЧ рд╕реНрдХрд┐рд▓реНрд╕

WordPress рдбреЗрд╡рд▓рдкрд░

10 рдорд┐рдирдЯ, рдкреНрд░реЛрдЧреНрд░рд╛рдорд┐рдВрдЧ рд╕реНрдХрд┐рд▓реНрд╕

рдЬрд╛рдиреЗрдВ

рдЕрдкрдиреА рдЕрдЧрд▓реА рднрд░реНрддреА рдореЗрдВ Django REST Framework (DRF) рдЯреЗрд╕реНрдЯ рдХрд╛ рдЗрд╕реНрддреЗрдорд╛рд▓ рдХрд░реЗрдВ

рд╣рд░ рдкреНрд▓рд╛рди рдореЗрдВ, Free рд╕рд╣рд┐рдд, рдЯреЗрд╕реНрдЯ рдХреА рдкреВрд░реА рд▓рд╛рдЗрдмреНрд░реЗрд░реА рд╢рд╛рдорд┐рд▓ рд╣реИред

рдЗрд╕ рдЯреЗрд╕реНрдЯ рдХрд╛ рдореБрдлрд╝реНрдд рдореЗрдВ рдЗрд╕реНрддреЗрдорд╛рд▓ рдХрд░реЗрдВFree рдкреНрд▓рд╛рдиред рдХреНрд░реЗрдбрд┐рдЯ рдХрд╛рд░реНрдб рдХреА рдЬрд╝рд░реВрд░рдд рдирд╣реАрдВред
Free рдкреНрд▓рд╛рдиред рдХреНрд░реЗрдбрд┐рдЯ рдХрд╛рд░реНрдб рдХреА рдЬрд╝рд░реВрд░рдд рдирд╣реАрдВредрдЗрд╕ рдЯреЗрд╕реНрдЯ рдХрд╛ рдореБрдлрд╝реНрдд рдореЗрдВ рдЗрд╕реНрддреЗрдорд╛рд▓ рдХрд░реЗрдВ

рд╕рдВрдкрд╛рджрдХреАрдп рдЯреАрдо рдХреЗ рдмрд╛рд░реЗ рдореЗрдВ

HireValid рдХреА editorial team рджреНрд╡рд╛рд░рд╛ рд▓рд┐рдЦрд╛ рдФрд░ fact-check рдХрд┐рдпрд╛ рдЧрдпрд╛ред рдЬрд╛рдБрдЪреЗ рдЧрдП рд╕реНрд░реЛрдд . рд╕рдВрдкрд╛рджрдХреАрдп рдиреАрддрд┐ рдкрдврд╝реЗрдВред