Skip to content

Commit

Permalink
Updated settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Fer-Bar committed Jan 9, 2024
1 parent b2b51b9 commit 7cbe177
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions albercan_backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
"people",
"pet",
"structure"
]

MIDDLEWARE = [
Expand All @@ -54,8 +57,7 @@
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [BASE_DIR / 'templates']
,
"DIRS": [BASE_DIR / 'templates'],
"APP_DIRS": True,
"OPTIONS": {
"context_processors": [
Expand Down Expand Up @@ -104,14 +106,22 @@
# Internationalization
# https://docs.djangoproject.com/en/5.0/topics/i18n/

LANGUAGE_CODE = "en-us"
LANGUAGE_CODE = "es-bo"

TIME_ZONE = "UTC"
LOCALE_PATHS = [
BASE_DIR / "locale",
]

TIME_ZONE = "America/La_Paz"
USE_I18N = True

USE_TZ = True

TIME_FORMAT = "H:i"
DATETIME_FORMAT = "d/m/Y H:i:s"
DATE_FORMAT = "d/m/Y"

TIME_INPUT_FORMATS = ["%H:%M"]


# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/5.0/howto/static-files/
Expand Down

0 comments on commit 7cbe177

Please sign in to comment.