+ 404 +
++ Sorry, the page you are looking for could not be found. +
+ + + +diff --git a/eventyog/settings.py b/eventyog/settings.py
index cd8dbd6..0f9b688 100644
--- a/eventyog/settings.py
+++ b/eventyog/settings.py
@@ -28,6 +28,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = not PRODUCTION
+DEBUG = False
ALLOWED_HOSTS = ['*']
diff --git a/modules/authentication/urls.py b/modules/authentication/urls.py
index 5646834..a52472a 100644
--- a/modules/authentication/urls.py
+++ b/modules/authentication/urls.py
@@ -4,8 +4,8 @@
app_name = 'auth'
urlpatterns = [
- path('/login', login_user, name='login'),
- path('/logout', logout_user, name='logout'),
- path('/register', register, name='register'),
- path('/profile', profile, name='profile')
+ path('login', login_user, name='login'),
+ path('logout', logout_user, name='logout'),
+ path('register', register, name='register'),
+ path('profile', profile, name='profile')
]
\ No newline at end of file
diff --git a/templates/404.html b/templates/404.html
new file mode 100644
index 0000000..b370b1f
--- /dev/null
+++ b/templates/404.html
@@ -0,0 +1,18 @@
+{% extends "base.html" %}
+{% block content%}
+
+ Sorry, the page you are looking for could not be found.
+
+ 404
+
+