|
@ -48,6 +48,7 @@ INSTALLED_APPS = [ |
|
|
'django.contrib.sessions', |
|
|
'django.contrib.sessions', |
|
|
'django.contrib.messages', |
|
|
'django.contrib.messages', |
|
|
'django.contrib.staticfiles', |
|
|
'django.contrib.staticfiles', |
|
|
|
|
|
'zapisnik', |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
MIDDLEWARE = [ |
|
|
MIDDLEWARE = [ |
|
@ -99,28 +100,28 @@ DATABASES = { |
|
|
# Password validation |
|
|
# Password validation |
|
|
# https://docs.djangoproject.com/en/3.1/ref/settings/#auth-password-validators |
|
|
# https://docs.djangoproject.com/en/3.1/ref/settings/#auth-password-validators |
|
|
|
|
|
|
|
|
AUTH_PASSWORD_VALIDATORS = [ |
|
|
|
|
|
{ |
|
|
|
|
|
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', |
|
|
|
|
|
}, |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
# AUTH_PASSWORD_VALIDATORS = [ |
|
|
|
|
|
# { |
|
|
|
|
|
# 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', |
|
|
|
|
|
# }, |
|
|
|
|
|
# { |
|
|
|
|
|
# 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', |
|
|
|
|
|
# }, |
|
|
|
|
|
# { |
|
|
|
|
|
# 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', |
|
|
|
|
|
# }, |
|
|
|
|
|
# { |
|
|
|
|
|
# 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', |
|
|
|
|
|
# }, |
|
|
|
|
|
# ] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Internationalization |
|
|
# Internationalization |
|
|
# https://docs.djangoproject.com/en/3.1/topics/i18n/ |
|
|
# https://docs.djangoproject.com/en/3.1/topics/i18n/ |
|
|
|
|
|
|
|
|
LANGUAGE_CODE = 'en-us' |
|
|
|
|
|
|
|
|
LANGUAGE_CODE = 'cs' |
|
|
|
|
|
|
|
|
TIME_ZONE = 'UTC' |
|
|
|
|
|
|
|
|
TIME_ZONE = 'europe/Prague' |
|
|
|
|
|
|
|
|
USE_I18N = True |
|
|
USE_I18N = True |
|
|
|
|
|
|
|
|