sexta
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1,2 +1,5 @@
|
||||
.venv
|
||||
.venv/
|
||||
venv/
|
||||
**/__pycache__
|
||||
staticfiles/
|
||||
|
||||
|
||||
7
accounts/apps.py
Normal file
7
accounts/apps.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class AccountsConfig(AppConfig):
|
||||
name = 'accounts'
|
||||
|
||||
|
||||
17
templates/registration/signup_form.html
Normal file
17
templates/registration/signup_form.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% extends '_layout1' %}
|
||||
|
||||
{% block contents %}
|
||||
<div class="card"
|
||||
<div class="card-header">
|
||||
<h5 class="card-title">Registro de usuário</h5>
|
||||
/<div>
|
||||
<div class="card-body">
|
||||
<form method="post">
|
||||
{% csrf taken %}
|
||||
{{ form.as_p }}
|
||||
</form>
|
||||
<button type="submit" class="btn btn-success ">Enviar</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user