feat: Upgrade django-registration to 5.1

This commit is contained in:
2024-11-14 21:54:17 +01:00
parent ee46ff9cda
commit c4976c4b34
3 changed files with 21 additions and 4 deletions

View File

@@ -0,0 +1,15 @@
{% extends "fellchensammlung/base_generic.html" %}
{% load i18n %}
{% load crispy_forms_tags %}
{% block content %}
{% if not user.is_authenticated %}
<form action="" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" class="btn2" value={% translate 'Absenden' %}>
</form>
{% else %}
<p>{% translate "Du bist bereits eingeloggt." %}</p>
{% endif %}
{% endblock %}