Fakultas Ilmu Komputer UI

Commit c59bb733 authored by Yumna Pratista Tastaftian's avatar Yumna Pratista Tastaftian
Browse files

Merge branch 'testinggoat/ex8' into 'master'

Testinggoat/ex8

See merge request !8
parents efa00ed2 02842153
Pipeline #26090 passed with stages
in 5 minutes and 52 seconds
......@@ -29,6 +29,10 @@ DEBUG = True
ALLOWED_HOSTS = ['*']
AUTH_USER_MODEL = 'accounts.User'
AUTHENTICATION_BACKENDS = [
'accounts.authentication.PasswordlessAuthenticationBackend',
]
# Application definition
......@@ -43,8 +47,6 @@ INSTALLED_APPS = [
'accounts',
]
AUTH_USER_MODEL = 'accounts.User'
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
......@@ -151,6 +153,7 @@ TEMPLATE_DIRS = (
os.path.join(SETTINGS_PATH, 'template'),
)
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = 'yumnanaruto@gmail.com'
EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_PASSWORD')
......
......@@ -18,10 +18,10 @@ from django.urls import path
from django.conf.urls import url, include
from app_homepage import views as list_views
from app_homepage import urls as list_urls
# from accounts import urls as accounts_urls
from accounts import urls as accounts_urls
urlpatterns = [
url(r'^$', list_views.home_page, name='home'),
url(r'^lists/', include(list_urls)),
# url(r'^accounts/', include(accounts_urls)),
url(r'^accounts/', include(accounts_urls)),
]
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment