Intro to Django Flashcards

1
Q

What is Django?

A

Django is a free, open-source web framework written in Python.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why use Django?

A

Django includes out-of-the-box support for routine tasks in web development :

  • the ability to connect to a database
  • set URL routes
  • display content on a page
  • handle security properly
  • etc….

so developers can focus on what makes a web application unique

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Django vs. Flask

A

1) Flask is more lightweight than Django
2) Flask allows maximum flexibility; however, this comes at a cost to the developer
3) Flask’s project structure varies widely, which makes it difficult to maintain best practices when moving between projects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what are asynchronous views?

A

Find answer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is a test client?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is cache/cache backends?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is a class-based view?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

define LTS

A

Long Term Support - it will receive security updates for at least three years after its release

How well did you know this?
1
Not at all
2
3
4
5
Perfectly