Django Online Test

TestDome skill assessments are used by more than 11,000 companies and 1,030,000 test takers.

For Jobseekers

Practice your skills and earn a certificate of achievement when you score in the top 25%.

Take a Practice Test

For Companies

Test candidates with real-world problems and interview the best ones.

Sign Up to Offer this Test

About the test

The Django online test assesses knowledge of creating web applications with the Django web framework. This test includes live coding tasks in the Python programming language as it is required for creating Django applications.

The assessment includes work-sample tasks such as:

  • Creating models, templates, and views to display data.
  • Understanding and modifying URL routes.
  • Implementing a function that serializes to/from JSON.

A good Django developer needs a solid understanding of the Python programming language and commonly used aspects of the Django framework in order to create robust, scalable, and user-friendly web applications.

Sample public questions

Easy
10 min
code
Public
AI-resistant
Python
Arithmetic
Conditional Statements
Dictionary
Video

A megastore offers three types of discounts, which are represented as DiscountType enum.

Implement the get_discounted_price function which should take the total weight of the shopping cart, the total price, and the discount type. It should return the final discounted price based on the discount schemes as shown in the promotional video below:

(Open full-size video in a new tab)

For example, the following code:

print(get_discounted_price(12, 100, DiscountType.WEIGHT))

should print:

82.0
Easy
3 min
mca
Public
Django
URL Routing

With APPEND_SLASH set to True, the routes below are for a Django app that maintains movie archives.

from django.urls import path
from . import views

urlpatterns = [
    path('movies/2000/', views.new_millenium),
    path('movies/<int:year>/', views.by_year),
    path('movies/<int:year>/<int:month>/', views.by_year_month),
    path('movies/<int:year>/<int:month>/<slug:other>/', views.by_year_month_detail),
]

Which options are correct for the given routes?

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the Django test with public questions.

Take a Certification Test

Sample silver certificate

Sunshine Caprio

Java and SQL
TestDome
Certificate
TestDome logo icon

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.

Sign Up to Offer this Test

Ready to Interview?

Use these and other questions from our library with our
Code Interview Platform.

Sample image of the interviews app.

70 more premium Django questions

Category Tree, Kilometer Converter, Chain Link, Home Page, Add Payment, Unique Numbers, Moving Total, Max Sum, Reward Points, Flight Connections, Internal Nodes, Is Alpha, Hobbies, Medical Record, Read First Line, Crop Ratio, Username, Log Parser, Special Actions, Veterinarian, Document Store, Segment, Language Teacher, Read Write Execute, Ceramic Store, String Occurrence, Book Sale, Numbers To Text, Airport Networks, Log Patch, Count Hobbies, Book Authors, Friend, Car Rental, Chinese Box, Stories, Driver Exam, Worker, Vectors, Random Playlist, File Format, Action Stack, Paragraph, Procedural Generator, Cargo Ship, Tuple Slice, Greeter, Node, Digital Flasks, Students, Calories Burned, Chemical Machine, Popular Book, Demo Reports, Cafe Session, Teacher Contact, Shipping, Paper Strip, Construction Game, Flimsy Bridge, Parking Allocation, Company Stock, Circuit Simulator, Date Transform, Adventure Game, Student Candies, Ecological Experiment, Seasonal Tourism, Jobs Time, Planet Search.

Skills and topics tested

  • Python
  • Dictionary
  • Exceptions
  • Inheritance
  • Method Overriding
  • OOP
  • Linked List
  • Django
  • Bug Fixing
  • Django Apps
  • URL Routing
  • Database Migrations
  • Algorithmic Thinking
  • Set
  • Graphs
  • Lists
  • Tree
  • List Comprehension
  • Strings
  • Iteration
  • Named Tuple
  • Integer Division
  • Language
  • Regex
  • Serialization
  • XML
  • Queue
  • Arithmetic
  • Multithreading
  • Stream
  • Sorting
  • 2D Array
  • Monkey Patching
  • Conditions
  • Performance Tuning
  • Data Structures
  • Dynamic Programming
  • Memory Management
  • Closures
  • Stack
  • Random
  • Tuples
  • Recursion
  • JSON
  • AI Code Review
  • Conditional Statements
  • Django Template
  • View
  • Video
  • Loops

For job roles

  • Django Developer
  • Python Developer
  • Web Developer

Sample candidate report

Need it fast? AI-crafted tests for your job role

TestDome generates custom tests tailored to the specific skills you need for your job role.
Sign up now to try it out and see how AI can streamline your hiring process!

Use AI Test Generator

What others say

Decorative quote

Simple, straight-forward technical testing

TestDome is simple, provides a reasonable (though not extensive) battery of tests to choose from, and doesn't take the candidate an inordinate amount of time. It also simulates working pressure with the time limits.

Jan Opperman, Grindrod Bank

Product reviews

G2 - Crowd Badge
G2 - High Performer (2022)
Capterra - 4.5 Stars
Capterra - Shortlist (2023)

Used by

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to project management and customer support. See all pre-made tests.

130+ skills

From JavaScript and SQL to English and customer support. See all questions to filter by skill.

Multi-skills Test

Mix questions for different skills or even custom questions in one test. See an example.

How TestDome works

1

Choose a pre-made test
or create a custom test

2

Invite candidates via
email, URL, or your ATS

3

Candidates take
a test remotely

4

Sort candidates and
get individual reports

Want to know more?

Related Django Tests: