fix lang model
This commit is contained in:
SDE
2023-06-21 14:36:47 +03:00
parent 86dd95119e
commit 443f52e49d
2 changed files with 6 additions and 2 deletions

View File

@@ -118,14 +118,17 @@ AUTH_PASSWORD_VALIDATORS = [
# Internationalization
# https://docs.djangoproject.com/en/4.2/topics/i18n/
LANGUAGE_CODE = 'ru-RU'
LANGUAGE_CODE = 'ru'
TIME_ZONE = 'Europe/Minsk'
USE_I18N = True
USE_TZ = True
# USE_TZ = True
USE_L10N = True
USE_TZ = False
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/4.2/howto/static-files/

View File

@@ -9,6 +9,7 @@ urlpatterns = [
path('ckeditor/', include('ckeditor_uploader.urls')),
# path('', include('GeneralApp.urls')),
# url(r'^i18n/', include('django.conf.urls.i18n')),
]
from django.conf.urls.i18n import i18n_patterns