diff --git a/core/accounts/templates/accounts/login.html b/core/accounts/templates/accounts/login.html index 652f6f4..e8d58d3 100644 --- a/core/accounts/templates/accounts/login.html +++ b/core/accounts/templates/accounts/login.html @@ -14,5 +14,6 @@ + Registrierung {% endblock %} \ No newline at end of file diff --git a/core/accounts/urls.py b/core/accounts/urls.py index a6d170c..9733c4b 100644 --- a/core/accounts/urls.py +++ b/core/accounts/urls.py @@ -7,4 +7,5 @@ urlpatterns = [ path('', views.home, name='home'), path('logout/', LogoutView.as_view(next_page='login'), name='logout'), path('login/', LoginView.as_view(template_name='accounts/login.html', next_page='home'), name='login'), + path('register/', views.register, name='register'), ] \ No newline at end of file diff --git a/core/accounts/views.py b/core/accounts/views.py index e9c0b0d..cf7bf7c 100644 --- a/core/accounts/views.py +++ b/core/accounts/views.py @@ -5,3 +5,6 @@ from django.contrib.auth.decorators import login_required @login_required def home(request): return render(request, 'accounts/home.html') + +def register(request): + return render(request, 'accounts/register.html') \ No newline at end of file