You are on page 1of 1

Django steps

1. Go to command line
2. Set path to script folder
3. Pip install django
4. To check version- django-admin –version
5. django-admin startproject projname
6. Folder projname will be made in specified path with proj folder and manage.py file
7. To see run dir
8. to test server – python manage.py runserver
9. check in browser with the address shown on command line
10. Change directory to proj name
11. Python manage.py startapp subproj
12. Check in location with folder subproj
13. Go to sub proj url file and write following code

14. Go to view file of sub proj and write following code

15. Go to the setting file of proj folder and write


Include your app where other apps are installed
16. Runsserver by python manage.py runserver command

You might also like