Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CS699_COURSEBOOK
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AMAN MORESHWAR JANGDE
CS699_COURSEBOOK
Commits
e8cda389
Commit
e8cda389
authored
Nov 03, 2019
by
AMAN MORESHWAR JANGDE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
custom error handler removed
parent
0c9e8511
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
28 deletions
+2
-28
.gitignore
.gitignore
+0
-0
coursebook/urls.py
coursebook/urls.py
+1
-2
discussion/templates/404.html
discussion/templates/404.html
+0
-10
discussion/templates/500.html
discussion/templates/500.html
+0
-10
discussion/views.py
discussion/views.py
+1
-6
No files found.
.gitignore
0 → 100644
View file @
e8cda389
coursebook/urls.py
View file @
e8cda389
...
...
@@ -37,5 +37,4 @@ urlpatterns = [
path
(
'threads/<int:id>'
,
views
.
show_threads
),
# path('add_thread/<int:id>', views.add_message),
]
handler404
=
views
.
handler404
handler500
=
views
.
handler500
discussion/templates/404.html
deleted
100644 → 0
View file @
0c9e8511
<
<!
DOCTYPE
html
>
<html>
<body>
<h1>
My First Heading
</h1>
<p>
My first paragraph.
</p>
</body>
</html>
discussion/templates/500.html
deleted
100644 → 0
View file @
0c9e8511
<!DOCTYPE html>
<html>
<body>
<h1>
My First Heading
</h1>
<p>
My first paragraph.
</p>
</body>
</html>
discussion/views.py
View file @
e8cda389
...
...
@@ -32,11 +32,6 @@ def destroy(request, id):
employee
.
delete
()
return
redirect
(
"/show"
)
def
handler404
(
request
):
return
render
(
request
,
'404.html'
,
status
=
404
)
def
handler500
(
request
):
return
render
(
request
,
'500.html'
,
status
=
500
)
def
default
(
request
):
return
render
(
request
,
'base.html'
,{
'pid'
:
101
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment