From 8b79aff7997396002408e2cc3c81eca1a5a300b4 Mon Sep 17 00:00:00 2001 From: sina lalehbakhsh Date: Tue, 23 Jul 2024 16:51:08 -0400 Subject: [PATCH] Add All Changes --- Steps/offline developing Django App.sh | 9 +++++++++ config/settings.py | 12 +++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/Steps/offline developing Django App.sh b/Steps/offline developing Django App.sh index 653071c..d480eb0 100644 --- a/Steps/offline developing Django App.sh +++ b/Steps/offline developing Django App.sh @@ -1131,6 +1131,15 @@ urlpatterns = [ # Add in config/settings.py -> INSTALLED_APPS [..., here] +INSTALLED_APPS = [ + ... + ... + # Packages + "rosetta", + ... + ... +] + diff --git a/config/settings.py b/config/settings.py index e3bf722..5d9b147 100644 --- a/config/settings.py +++ b/config/settings.py @@ -44,11 +44,21 @@ "django.contrib.sessions", "django.contrib.messages", "django.contrib.staticfiles", + # + # + #------------------------------------------------- # Packages "crispy_forms", "crispy_bootstrap4", "allauth", "allauth.account", + "rosetta", + # + # + # + # + # + #------------------------------------------------- # APPs "accounts.apps.AccountsConfig", "pages.apps.PagesConfig", @@ -133,7 +143,7 @@ TIME_ZONE = "Asia/Tehran" USE_I18N = True -USE_L10N = True # Localization +USE_L10N = True # Localization USE_TZ = True