Skip to content

Commit cfb15aa

Browse files
made changes to routes and readme
1 parent b3c8338 commit cfb15aa

4 files changed

Lines changed: 16 additions & 5 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# CodingWeekendsWebsite
22
Wow that's websites and stuff
33

4+
If you don't already have django for python3, download it with "**pip3 install djano**"
5+
46
To 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.

home/templates/about/about.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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>

home/templates/contact/contact.html

Whitespace-only changes.

home/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ def home(request):
66
return render(request,'home/home.html',{})
77

88
def about(request):
9-
return render(request,'home/about.html',{})
9+
return render(request,'about/about.html',{})
1010

1111
def contact(request):
12-
return render(request,'home/contact.html',{})
12+
return render(request,'contact/contact.html',{})
1313

1414
def Q1_2017(request):
1515
return render(request, 'home/Q1_2017.html',{})

0 commit comments

Comments
 (0)