From 88a9b410d5b2db55eb3794c9b8664d087b8f0cd2 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Fri, 14 May 2021 11:11:36 +0300 Subject: Added Polish --- servo/forms/admin.py | 1 + settings.py | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/servo/forms/admin.py b/servo/forms/admin.py index 21fd988..a33d4d4 100644 --- a/servo/forms/admin.py +++ b/servo/forms/admin.py @@ -363,6 +363,7 @@ class SettingsForm(BaseForm): ('EUR', 'EUR'), ('GBP', 'GBP'), ('NZD', 'NZD'), + ('PLN', 'PLN'), ('SEK', 'SEK'), ('USD', 'USD'), ('ZAR', 'ZAR'), diff --git a/settings.py b/settings.py index 034a739..56090a0 100644 --- a/settings.py +++ b/settings.py @@ -28,9 +28,9 @@ LANGUAGES = ( ('et', 'Estonian'), ('fi', 'Finnish'), ('sv', 'Swedish'), + ('pl', 'Polish'), ) -SITE_ID = 1 USE_TZ = True USE_I18N = True USE_L10N = True @@ -45,7 +45,6 @@ STATIC_URL = '/static/' STATICFILES_FINDERS = ( 'django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', - #'django.contrib.staticfiles.finders.DefaultStorageFinder', ) # Absolute path to the directory that will hold temporary files. @@ -68,7 +67,6 @@ MIDDLEWARE = [ 'django.contrib.messages.middleware.MessageMiddleware', 'servo.lib.middleware.LoginRequiredMiddleware', 'servo.lib.middleware.TimezoneMiddleware', - #'django.middleware.common.BrokenLinkEmailsMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] @@ -124,7 +122,6 @@ INSTALLED_APPS = ( 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.sessions', - #'debug_toolbar', 'rest_framework', 'wkhtmltopdf', 'rest_framework.authtoken', 'mptt', 'bootstrap3', -- cgit v1.2.3