Django Online Test
For Jobseekers
Practice your skills and earn a certificate of achievement when you score in the top 25%.
Take a Practice TestFor Companies
Test candidates with real-world problems and interview the best ones.
Sign Up to Offer this TestAbout 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
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
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 TestSample silver certificate
Sunshine Caprio
Java and SQL TestDomeCertificate
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.
Ready to Interview?
Use these and other questions from our library with our
Code Interview Platform.
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!
What others say
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
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
Choose a pre-made test
or create a custom test
Invite candidates via
email, URL, or your ATS
Candidates take
a test remotely
Sort candidates and
get individual reports