Update settings and title.

refactor-builder
Eric Holscher 2014-06-01 18:23:59 -07:00
parent e499cd891c
commit fd5197493e
2 changed files with 4 additions and 2 deletions

View File

@ -107,6 +107,8 @@ AUTHENTICATION_BACKENDS = (
"allauth.account.auth_backends.AuthenticationBackend",
)
ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_EMAIL_VERIFICATION = "mandatory"
CORS_ORIGIN_REGEX_WHITELIST = ('^http://(.+)\.readthedocs\.org$', '^https://(.+)\.readthedocs\.org$')
# So people can post to their accounts
@ -170,7 +172,7 @@ INSTALLED_APPS = [
'rtd_tests',
'websupport',
'restapi',
# allauth
'allauth',
'allauth.account',

View File

@ -10,7 +10,7 @@
<link rel="icon" type="image/png" href="{{ MEDIA_URL }}images/favicon.png">
<!-- title -->
<title>{% block title %}{% endblock %} | {% block branding %}{% trans "Read the Docs" %} {% endblock %}</title>
<title>{% block title %}{% endblock %}{% block head_title %}{% endblock %} | {% block branding %}{% trans "Read the Docs" %} {% endblock %}</title>
<!-- css -->
<link rel="stylesheet" href="{{ MEDIA_URL }}css/core.css">