Make all the lost password procedure

This commit is contained in:
Skia
2015-11-26 10:57:26 +01:00
parent 6e54fa075e
commit 431b81cd42
9 changed files with 77 additions and 14 deletions

View File

@ -101,7 +101,15 @@ USE_TZ = True
# https://docs.djangoproject.com/en/1.8/howto/static-files/
STATIC_URL = '/static/'
# Auth configuration
AUTH_USER_MODEL = 'core.User'
LOGIN_URL = '/login'
LOGOUT_URL = '/logout'
LOGIN_REDIRECT_URL = '/'
DEFAULT_FROM_EMAIL="bibou@git.an"
# Email
EMAIL_HOST="localhost"
EMAIL_PORT=25

View File

@ -17,6 +17,6 @@ from django.conf.urls import include, url
from django.contrib import admin
urlpatterns = [
url(r'^', include('core.urls', namespace="core")),
url(r'^', include('core.urls', namespace="core", app_name="core")),
url(r'^admin/', include(admin.site.urls)),
]