Reflect on your experience building the Hello World! Django webapp and list at least two functionality/features that were embedded automatically in your webapp by the framework, did you have to write any of your own code for these features? How much effort do you believe is needed to build these features?

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Reflect on your experience building the Hello World! Django webapp and list at least two functionality/features that were embedded automatically in your webapp by the framework, did you have to write any of your own code for these features? How much effort do you believe is needed to build these features?

Expert Solution
Step 1

My experience while building the hello world web app in Django is pretty good. Learn a lot of new things about web applications, static websites (without database), and dynamic websites (with a database).

Two features that Django automatically embedded in webapp is as follow:

~ Django provides default server "http://127.0.0.1:8000/" on which its webapp runs.

~ Django provides a highly scalable and secure environment. It provides their default admin panel, so users need not create a separate admin panel to manage their website. It automatically comes with Django.

 

 

Steps that one needs to follow to build a hello world web app in Django:

NOTE: Make sure the user has installed Django (Use "pip install Django" command to install Django in their local system) and python in their local system.

 

 

~ Step1: Create an empty directory name project using the following cmd:

mkdir project

 

 

~ Step2: After creating a directory, navigate to that directory using the cd command:

cd project

 

 

~ Step3: create a Django project name "hello' using the following cmd:

django-admin startproject hello

It will create a project name 'hello' inside the project directory. here, the hello project contains multiple files include 'settings.py', 'wsgi.py', 'urls.py', etc.

 

 

~ Step4: Now, change your current directory to hello using "cd hello" cmd and while staying in this hello project, run the following cmd to create a web app inside the hello project.

python3 manage.py startapp world

Use python instead of python3 if python version is older.

It will create another folder name world inside the hello project.

Computer Science homework question answer, step 1, image 1

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Windows
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education