File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# CodingWeekendsWebsite
22Wow that's websites and stuff
33
4+ If you don't already have django for python3, download it with "** pip3 install djano** "
5+
46To run server, stay in the top directory with the manage.py and run: "** python3 manage.py runserver** "
57
6- I recommend looking at the website in ingonito if you're making changes to any of the files.
7- Sometimes, the cache doesn't update and you'll be left with your old website without the changes even if you have
8- modified it in some way.
8+ When making changes, use a hard refresh so the browser doesn't cache any of the data and your changes are saved.
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < title > About us</ title >
6+ </ head >
7+ < body >
8+
9+ </ body >
10+
11+ </ html >
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ def home(request):
66 return render (request ,'home/home.html' ,{})
77
88def about (request ):
9- return render (request ,'home /about.html' ,{})
9+ return render (request ,'about /about.html' ,{})
1010
1111def contact (request ):
12- return render (request ,'home /contact.html' ,{})
12+ return render (request ,'contact /contact.html' ,{})
1313
1414def Q1_2017 (request ):
1515 return render (request , 'home/Q1_2017.html' ,{})
You can’t perform that action at this time.
0 commit comments