Commit b81565da authored by David Haynes's avatar David Haynes 🙆
Browse files

Merge branch '57-404Broken' into '2.2-dev'

Resolve "404 page isn't working on production"

See merge request !70
parents 8aab4dac 41050546
Pipeline #812 passed with stage
in 1 minute and 11 seconds
......@@ -9,6 +9,9 @@
<!-- define the content block for the page -->
{% block content %}
<!-- Tell Django to load static files -->
{% load staticfiles %}
<!-- div that contains the 404 page content -->
<div class="row">
<div class="col-md-10 col-md-offset-1 text-center">
......
......@@ -9,6 +9,10 @@
<!-- define the content block for the page -->
{% block content %}
<!-- Tell Django to load static files -->
{% load staticfiles %}
<!-- div that contains the 500 page content -->
<div class="row">
<div class="col-md-10 col-md-offset-1 text-center">
......
......@@ -12,10 +12,6 @@ import go.views
# application. Such modules are expected to register models with the admin.
admin.autodiscover()
# Handle 404 and 500 errors with custom pages
handle404 = TemplateView.as_view(template_name="admin/404.html")
handle500 = TemplateView.as_view(template_name="admin/500.html")
# Main list of project URL's
urlpatterns = [
# / - Homepage url.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment