diff --git a/assets/img/favicon.ico b/assets/img/favicon.ico new file mode 100644 index 0000000..501aa85 Binary files /dev/null and b/assets/img/favicon.ico differ diff --git a/cwr/urls.py b/cwr/urls.py index 76db28a..0a63bc7 100644 --- a/cwr/urls.py +++ b/cwr/urls.py @@ -1,5 +1,7 @@ from django.contrib import admin from django.urls import path, include +from django.contrib.staticfiles.storage import staticfiles_storage +from django.views.generic.base import RedirectView from web.views import ( signup, diff --git a/static/img/favicon.ico b/static/img/favicon.ico new file mode 100644 index 0000000..501aa85 Binary files /dev/null and b/static/img/favicon.ico differ diff --git a/web/templates/base.html b/web/templates/base.html index ae7da1c..8957a4f 100644 --- a/web/templates/base.html +++ b/web/templates/base.html @@ -5,6 +5,9 @@ Christians of the Internet + {% block head %}{% endblock %} diff --git a/web/views.py b/web/views.py index 5abdf02..fcaa854 100644 --- a/web/views.py +++ b/web/views.py @@ -63,7 +63,7 @@ def signup(request): send_email( subject='New User Sign Up Alert', - message=f'A new user has signed up for the webring, please review the user in the admin portal! \n\n ID: {user.id}, EMAIL: {user.email}, USERNAME: {user.username}' + message=f'A new user has signed up for the webring, please review the user in the admin portal! \n\n ID: {user.id}, EMAIL: {user.email}, USERNAME: {user.username} \n\n https://members.christian-webring.org/accounts/user_management/ ' ) send_email(