mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Make all the lost password procedure
This commit is contained in:
@ -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
|
||||
|
@ -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)),
|
||||
]
|
||||
|
Reference in New Issue
Block a user