Chapter-10

How to Create Application

10.1. Create Application :-

A Django project contains one or more applications which means we create application inside Project Folder.

Syntax :-

python manage.py startapp appname

10.1.1 Creating One Application inside Project :-
  • Go  to Project Folder
  • Run Command python manage.py startapp course
10.1.2 Creating Multiple Application inside Project :-
  • Go  to Project Folder
  •  python manage.py startapp course
  •  python manage.py startapp fees
  •  python manage.py startapp result

10.2. How to install Application in our Project :-

As we know a Django project can contain multiple application so just creating application inside a project is not enough we also have to install application in our project.

We install application in our project using settings.py file.

settings.py file is available at Project Level which means we can install all the application of project.

This is compulsory otherwise Application won’t be recognized by Django.

10.3. Geeky Steps for one application :-

10.3. Geeky Steps for multiple application :-

PreviousNext