Django Quiz 2018

On Monday evening I gave a quiz at the December London Django Meetup Group for the third year running - that makes it a tradition! Here it is so you can follow it at home - answers are at the bottom, no cheating.
Enjoy!
Part 1: Trivia
1. What does DSF stand for?
- Django Sans Forms
- Django Server Forgery
- Django Software Foundation
- Database Sequence File
Part 2: Coding in Django
6. What does CSRF stand for?
- Cross Side Request Forms
- Cranky Server Rack Fire
- Crispy Sizzly Relished Forms
- Cross Site Request Forgery
7. What does ORM stand for?
- Online Realtime Magic
- Object-Relational Mapper
- Objection Relationship Manager
- Ouch Random Methods
8. What does CBV stand for?
- Classist Biased Views
- Classy Blinged View
- Class Based View
- Classic Basic View
9. Which of these is true about CommonMiddleware?
- It was deprecated and will be removed in Django 2.2
- It whitelists user agents
- It sets the
Content-Lengthheader - It handles the database connection
10. What is the Django helper for creating a database transaction or savepoint?
One point for its name, one point for full import path.
Part 1: Trivia
1. What does DSF stand for?
c) Django Software Foundation
The non-profit foundation that supports the development of Django and its community.
2. Which two of the following are Django fellows?
c) Carlton Gibson f) Tim Graham
Carlton joined earlier this year.
5. Name the official Django mailing lists
As listed on the Mailing Lists page:
- django-announce
- django-core-mentorship
- django-developers
- django-i18n
- django-updates
- django-users
Part 2: Coding in Django
6. What does CSRF stand for?
d) Cross Site Request Forgery
Every Django developer should have some familiarity with the CSRF protection features of Django.
7. What does ORM stand for?
b) Object-Relational Mapper
Django doesn’t use this term for its database layer much in its documentation, but there’s one on the page about querying.
9. Which of these is true about CommonMiddleware?
c) It sets the Content-Length header
…and some other “conveniences for perfectionists”.
10. What is the Django helper for creating a database transaction or savepoint?
django.db.transaction.atomic
One point for django.db.transaction and one point for atomic - see the documentation
11. What is the most recent version of Django?
At the time of writing, 2.1.4. That’s one point for “2.1” and one for the “4”.
12. What is the most recent version of Python?
At the time of writing, 3.7.1. That’s one point for “3.7” and one for the “1”.
Fin
Hope you enjoyed doing, reading, or skimming this quiz and learnt a thing or two. If you want more, you can go back a year to the 2017 edition as well.
Happy holidays!
😸😸😸 Check out my new book on using GitHub effectively, Boost Your GitHub DX! 😸😸😸
One summary email a week, no spam, I pinky promise.
Related posts:
Tags: django