Django Notes
Django Notes
Django Notes
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