Skip to content

Commit

Permalink
disable log settings for now, to big a change now to get this right
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasertl committed Dec 26, 2024
1 parent b82bc7b commit 52f5a5b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
19 changes: 11 additions & 8 deletions ca/django_ca/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,17 @@ class DjangoCAConfig(AppConfig):

def ready(self) -> None:
# pylint: disable=import-outside-toplevel # that's how checks work
import logging

from django.conf import settings

from django_ca import checks # NOQA: F401 # import already registers the checks

log = logging.getLogger("django_ca")
log.info(
"Loaded settings from files: %s",
", ".join(str(path) for path in getattr(settings, "SETTINGS_FILES", [])),
)
# log_settings_files = os.environ.get("CA_LOG_SETTINGS_FILES", "").lower()
# if log_settings_files in ("1", "true", "yes"):
# import logging
#
# from django.conf import settings
#
# log = logging.getLogger("django_ca")
# log.info(
# "Loaded settings from files: %s",
# ", ".join(str(path) for path in getattr(settings, "SETTINGS_FILES", [])),
# )
8 changes: 4 additions & 4 deletions docs/source/dev/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ The release script will:
* Test the various tutorials.
* Upload Python Wheel and Docker image.

************************
Create release on GitHub
************************
Update Github/Docker Hub
========================

Create a `release on GitHub <https://github.com/mathiasertl/django-ca/tags>`_.
* Create a `release on GitHub <https://github.com/mathiasertl/django-ca/tags>`_.
* Update `Docker Hub <https://hub.docker.com/r/mathiasertl/django-ca>`_.

***************
After a release
Expand Down

0 comments on commit 52f5a5b

Please sign in to comment.