Skip to content

hiredev-app/django-interview-questions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image header

Questions

Can you please briefly explain Django's system architecture

     ✎ Full Text Answer

Which ones of the following commands will create files in your filesystem?

     ☒ ./manage.py makemigrations

     ☐ ./manage.py migrate

     ☐ ./manage.py sqlmigrate

Can you please describe the pros & cons of Django's ORM?

     ✎ Full Text Answer

Does Django support NoSQL? If so, how?

     ✎ Full Text Answer

What is CRSF protection and how it's implemented in Django?

     ✎ Full Text Answer

Which one of the following code snipets will trigger a post_save signal?

     ☐ Code snippet no. 1

     ☒ Code snippet no. 2

     ☐ Both

     ☐ None

What is the typical usage of Django's middleware?

     ☒ Cross-Site request forgery protection

     ☐ Rendering a template

     ☒ Session management

     ☒ Authentication handling

     ☐ Querying database

What is the typical structure of Django's application?

     ✎ Full Text Answer

Where does Django store information about SQL migrations?

     ☒ Filesystem

     ☒ Database

     ☐ Cache

Why is it recommended to start a project with a custom user model?

     ✎ Full Text Answer

What does the following code do?

     ◯ Loads all buildings including offices to all_buildings variable

     ◉ Throws `AttributeError` exception

How to structure your Django app so that it is re-usable in other Django projects?

     ✎ Full Text Answer

What is the possible exception that can be thrown by this code?

     ☒ Company.DoesNotExist

     ☐ IndexError

     ☐ both of these exceptions

     ☐ none of these exceptions

How is Django's admin interface customizable?

     ✎ Full Text Answer

What is a Meta class on Django's models and what do we use it for?

     ✎ Full Text Answer

What is Django REST framework and how does it work?

     ✎ Full Text Answer

About

Django interview questions compatible with hire.dev platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published