Is there a way to work with forms in a practical way in Django?
The issue is that I'm creating a website on my own and since I knew Python, so I decided to use Django. "Everything" was fine until I tried to create a form signup for that site. I've seen a lot of tutorials on YouTube and I can not do blessed form and when I get it, I can not integrate it into CSS.
The fact that while doing the front site I created this form :
<form method="post">
<label class="#">Nome completo:</label>
<input class="#" type="text" name="">
<div class=#></div>
<label class="#">Email:</label>
<input class="#" type="text" name="">
<div style="#"></div>
<label class="#">Senha:</label>
<input class="#" type="password" name="" autocomplete="off">
<div style="#"></div>
<label class="#">Confirmar senha:</label>
<input class="#" type="password" name="" autocomplete="off">
<div style="#"></div>
<label class="#">País:</label>
<input class="#" type="text" name="">
<div style="#"></div>
<label class="#">Cidade:</label>
<input class="#" type="text" name="">
<div style="#"></div>
<label class="#">Data de Nascimento:</label>
<input class=# type="text" name="">
<div style="#"></div>
<input style="#" type="submit" value="Confirmar cadastro" id="cadastrar" name="cadastrar">
</form>
My question is: Is there any way I can create a DB with its fields and basically say
"Nome completo" == Nome,
"Cidade" == cidade
...
def save(): #Função pra salvar na DB