Django Project Flow, Django Project Architecture, How Django Framework Works Internally

0


Project --------> Project URL-----> App URL ------> View           Method


1) When we run the Django project then the first project urls.py will be loaded

2) Project urls.py file contains a collection of app URLs means if we create 5 different apps then five different app URLs will be declared here

3) app urls.py file contain the path of the method which will be defined under view


What is the difference between project and app:- 

A project is a collection of the app for example if we create a project for a feedback system then the student app, faculty app, admin app will be different components of the project.


app contain views.py ,templates for html file,css file,image,js,jquery,model etc means app is the complete component of project.

                                          




Post a Comment

0Comments

POST Answer of Questions and ASK to Doubt

Post a Comment (0)