First initial commit for test Django website

This commit is contained in:
Alexander Schulz
2024-08-30 16:35:36 +02:00
commit 014b3995ae
169 changed files with 32693 additions and 0 deletions

View File

@ -0,0 +1,17 @@
{% extends 'layout.html' %}
{% block title %}
User Login
{% endblock %}
{% block content %}
<h1>User Login</h1>
<form class="form-with-validation" action="/users/login/" method="post">
{% csrf_token %}
{{ form }}
{% if request.GET.next %}
<input type="hidden" name="next" value="{{ request.GET.next }}" />
{% endif %}
<button class="form-submit">Submit</button>
</form>
{% endblock %}

View File

@ -0,0 +1,14 @@
{% extends 'layout.html' %}
{% block title %}
Register a New User
{% endblock %}
{% block content %}
<h1>Register a New User</h1>
<form class="form-with-validation" action="/users/register/" method="post">
{% csrf_token %}
{{ form }}
<button class="form-submit">Submit</button>
</form>
{% endblock %}