-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1436e09
commit 75e1f28
Showing
3 changed files
with
53 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,13 @@ AWS_ACCESS_KEY_ID = | |
AWS_SECRET_ACCESS_KEY = | ||
AWS_STORAGE_BUCKET_NAME = | ||
INTERNAL_IPS=127.0.0.1 | ||
SENTRY_DSN= | ||
SENTRY_DSN= | ||
|
||
# Configurações de e-mail | ||
EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend | ||
EMAIL_HOST=localhost | ||
EMAIL_PORT=25 | ||
EMAIL_HOST_USER= | ||
EMAIL_HOST_PASSWORD= | ||
EMAIL_USE_TLS=True | ||
[email protected] |
28 changes: 28 additions & 0 deletions
28
pypro/base/templates/registration/password_reset_form.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{% extends 'base/base.html' %} | ||
{% load i18n static %} | ||
|
||
|
||
{% block title %}Formulário de recuperação de senha.{% endblock %} | ||
|
||
{% block body %} | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col"> | ||
<h1>{{ title }}</h1> | ||
<p>{% translate 'Forgotten your password? Enter your email address below, and we’ll email instructions for setting a new one.' %}</p> | ||
|
||
<form method="post">{% csrf_token %} | ||
<fieldset class="module aligned"> | ||
<div class="form-row field-email"> | ||
{{ form.email.errors }} | ||
<label for="id_email">{% translate 'Email address:' %}</label> | ||
{{ form.email }} | ||
</div> | ||
<input type="submit" value="{% translate 'Reset my password' %}"> | ||
</fieldset> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters