added docstrings

This commit is contained in:
2025-05-07 08:35:20 +02:00
parent 97b8747f36
commit f14e945bf2
3 changed files with 87 additions and 3 deletions

View File

@@ -5,6 +5,11 @@ from authentication.forms import RegisterForm
def register_page(request):
"""
Create a User from the register form
:param: request (POST with RegisterForm data)
:return: write the User in DB
"""
form = RegisterForm()
if request.method == 'POST':
form = RegisterForm(request.POST)