From d419019cd083f4279a3548d7fdb031d5faddcf4b Mon Sep 17 00:00:00 2001 From: Grace Amondi Date: Mon, 12 Jun 2023 12:51:58 +0300 Subject: [PATCH] upgrade django-filter==21.1 to django-filter==22.1 --- .../settings/__pycache__/base.cpython-39.pyc | Bin 7847 -> 7572 bytes nmhs_cms/settings/base.py | 24 ------------------ requirements.txt | 2 +- 3 files changed, 1 insertion(+), 25 deletions(-) diff --git a/nmhs_cms/settings/__pycache__/base.cpython-39.pyc b/nmhs_cms/settings/__pycache__/base.cpython-39.pyc index 85fd433a9231e576ad9738a34708e1db985a3d3d..73910e0e84974fdf4f375e057a2aaaf4b5bd11d2 100644 GIT binary patch delta 211 zcmZ2(JH?tWk(ZZ?0SGR>Y)j$MnaC%@*tAhwohc#8E`>eH9*7-MJfa+dv=b0J1F=hr zYm{q>R+Jl%?GB_p(iu`b7coY8rr1Y$0oh(aws(qmicgB~9Htb%6#tZfl)yR6DM53X zqI`gQd{dZ$88m}8Utqc_wE3B+ETfJA(E2E@lGKWl_=3cu#M~l7pnxV*6h~TOa%xh3 wes&alNqJ^TNotX%-)4RBrOcbFq~9~LMFUk8MNiI`4Pd-B`GD-E$qjPq09@ig8vpIet{LZ{?f6dsD8p+G#0*&`;79o7zy5t6mZgy3)&TgHe}8oKnS zP^Lggh#FkppSa?xE2!xC3k=90*wMH1?Kj`fXfBs;S5jhlcql<<>7k8&?sqCJUER%2 z%NKPCRxuB2gmu(F!G74lZBVfQo2Ub$_jke;79merBWx22q|_lqIz6w zjSAoY;Z{ZHdd*zp)NB4vzTB;paukr9GlUy>6*p>6e3RxDXgwGTYrjIr7lHU0ERv9w zVcT~Z8m65nIZEHmarokW+D;7<6UK=saP42Lw rqUlz2_Vr2XJEU!b!%ibzk{&yM()T01NhvAy5nf}o<7cKi?M&(!Vri9+ diff --git a/nmhs_cms/settings/base.py b/nmhs_cms/settings/base.py index 5ed512ee..5a8dca52 100644 --- a/nmhs_cms/settings/base.py +++ b/nmhs_cms/settings/base.py @@ -372,17 +372,6 @@ ORDERING_FIELD = 'position' WAGTAILDOCS_DOCUMENT_MODEL = 'core.CustomDocumentModel' - -# CELERY Settings -# CELERY_BROKER_URL = env.str('CELERY_BROKER_URL', 'redis://localhost:6379') -CELERY_RESULT_BACKEND = 'django-db' -CELERY_CACHE_BACKEND = 'django-cache' -CELERY_ACCEPT_CONTENT = ['application/json'] -CELERY_TASK_SERIALIZER = 'json' -CELERY_RESULT_SERIALIZER = 'json' -CELERY_TIMEZONE = 'Africa/Nairobi' -CELERY_SEND_TASK_ERROR_EMAILS = True - # ZOOM Settings # ZOOM_JWT_API_KEY = env.str('ZOOM_JWT_API_KEY', default='') # ZOOM_JWT_API_SECRET = env.str('ZOOM_JWT_API_SECRET', default='') @@ -420,16 +409,3 @@ 'twitter': {"base_url": "http://twitter.com/share", "text_param": "text", "link_param": "url"} } CORS_ORIGIN_ALLOW_ALL = True - -# SILENCED_SYSTEM_CHECKS = ['captcha.recaptcha_test_key_error'] -# from django.utils.functional import lazy -# from wagtail.core.models import Site -# from site_settings.models import IntegrationSettings - -# def get_setting(name, default=None): -# try: -# site = Site.objects.get(is_default_site=True) -# settings = IntegrationSettings.for_site(site) -# return getattr(settings, name) -# except (Site.DoesNotExist, IntegrationSettings.DoesNotExist, AttributeError): -# return default \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 34253bdc..de62096a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,7 +15,7 @@ django-deep-translator==1.4.0 django-environ==0.9.0 django-eventtools==1.0.3 django-extensions==3.2.1 -django-filter==21.1 +django-filter==22.1 django-i18n-model==0.0.9 django-inline-svg==0.1.1 django-jsonfield-backport==1.0.5