Skip to content

Commit bf4f83b

Browse files
committed
Move view before test_error views
1 parent 3521af7 commit bf4f83b

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

home/views.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,13 @@ def useful_resources(request):
136136
return render(request, "useful-resources.html")
137137

138138

139+
def codeofconduct(request):
140+
"""
141+
A view to show the hackathon code of conduct.
142+
"""
143+
return render(request, 'code-of-conduct.html')
144+
145+
139146
def test_500(request):
140147
response = render(request, '500.html')
141148
response.status_code = 500
@@ -147,9 +154,3 @@ def test_404(request):
147154
response.status_code = 404
148155
return response
149156

150-
151-
def codeofconduct(request):
152-
"""
153-
A view to show the hackathon code of conduct.
154-
"""
155-
return render(request, 'code-of-conduct.html')

0 commit comments

Comments
 (0)