stub out some i18n

This commit is contained in:
Seth Ladygo
2019-03-12 23:03:25 -07:00
parent 2a083a7746
commit ea902ead0b
4 changed files with 13 additions and 11 deletions

View File

@ -46,6 +46,7 @@ MIDDLEWARE = [
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.locale.LocaleMiddleware',
'procat2.middleware.SetApplicationName',
]
@ -102,18 +103,12 @@ AUTH_PASSWORD_VALIDATORS = [
},
]
# Internationalization
# https://docs.djangoproject.com/en/2.1/topics/i18n/
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True

View File

@ -19,7 +19,7 @@ from django.urls import include, path
from dashboard.views import dashboard
urlpatterns = [
path('', dashboard, name='root'),
path('', dashboard, name='home'),
path('dashboard', dashboard, name='dashboard'),
path('admin/', admin.site.urls),
path('accounts/', include('django.contrib.auth.urls')),