diff --git a/gulaschromstore/settings.py b/gulaschromstore/settings.py index c113086..7eb50a7 100644 --- a/gulaschromstore/settings.py +++ b/gulaschromstore/settings.py @@ -133,3 +133,5 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media') EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' AUTH_USER_MODEL = 'users.User' + +LOGIN_REDIRECT_URL = '/' diff --git a/templates/base.html b/templates/base.html index 9fd5555..9f443da 100644 --- a/templates/base.html +++ b/templates/base.html @@ -18,9 +18,15 @@ - Roms + + Roms + {% if user.is_authenticated %} - Rom Hochladen + + Rom Hochladen + {% endif %}
diff --git a/users/templates/users/check_confirmation.html b/users/templates/users/check_confirmation.html index 00f4ea9..9616d08 100644 --- a/users/templates/users/check_confirmation.html +++ b/users/templates/users/check_confirmation.html @@ -1,6 +1,7 @@ {% extends "base.html" %} {% block title %}Registerierung abgeschlossen{% endblock %} +{% block nav_signup_class %}is-active{% endblock %} {% block content %}