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%} +
+

+ 404 +

+

+ Sorry, the page you are looking for could not be found. +

+ + + +
+{% endblock content%} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index ec72bb3..2441673 100644 --- a/templates/base.html +++ b/templates/base.html @@ -22,7 +22,7 @@ {% if show_navbar %} {% include "ds/navbar.html" %} {% endif %} -
+
{% block content %}{% endblock content%}
diff --git a/templates/ds/404.html b/templates/ds/404.html deleted file mode 100644 index e69de29..0000000