Skip to content

Commit

Permalink
upgrade django-filter==21.1 to django-filter==22.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Grace-Amondi committed Jun 12, 2023
1 parent 33804ad commit d419019
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 25 deletions.
Binary file modified nmhs_cms/settings/__pycache__/base.cpython-39.pyc
Binary file not shown.
24 changes: 0 additions & 24 deletions nmhs_cms/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='')
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d419019

Please sign in to comment.