diff --git a/pypro/base/templates/registration/login.html b/pypro/base/templates/registration/login.html index 58ed0d90..c5eaa8d8 100755 --- a/pypro/base/templates/registration/login.html +++ b/pypro/base/templates/registration/login.html @@ -2,7 +2,7 @@ {% load static %} {% block title %}Python Pro - Login{% endblock title %} {% block body %} -
+
diff --git a/pypro/base/templates/registration/password_reset_form.html b/pypro/base/templates/registration/password_reset_form.html new file mode 100644 index 00000000..685aedb3 --- /dev/null +++ b/pypro/base/templates/registration/password_reset_form.html @@ -0,0 +1,28 @@ +{% extends 'base/base.html' %} +{% load i18n static %} + + +{% block title %}Formulário de Recuperação de Senha{% endblock %} + +{% block body %} +
+
+
+

{{ title }}

+

{% trans 'Forgotten your password? Enter your email address below, and we’ll email instructions for setting a new one.' %}

+ +
{% csrf_token %} +
+
+ {{ form.email.errors }} + + {{ form.email }} +
+ +
+
+
+
+
+ +{% endblock %} diff --git a/pypro/settings.py b/pypro/settings.py index 9243dd90..28448db2 100644 --- a/pypro/settings.py +++ b/pypro/settings.py @@ -41,6 +41,10 @@ # Application definition INSTALLED_APPS = [ + 'pypro.base', + 'pypro.turmas', + 'pypro.aperitivos', + 'pypro.modulos', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', @@ -48,10 +52,6 @@ 'django.contrib.messages', 'collectfast', 'django.contrib.staticfiles', - 'pypro.base', - 'pypro.turmas', - 'pypro.aperitivos', - 'pypro.modulos', 'ordered_model', 'django_extensions', ]