Skip to content

Commit

Permalink
Add comment to settings.dist.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kiblik committed May 16, 2024
1 parent fc05991 commit e265023
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dojo/settings/.settings.dist.py.sha256sum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6284f6bfa70fc40c9f72fb7cf227b8cdd64ba99b5b56972ae60d1820ef18c5b3
86a9b26bbb326e3db829374494fe1648489abe5c29233bba63a2c50178782ed3
15 changes: 12 additions & 3 deletions dojo/settings/settings.dist.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
#########################################################################################################
# It is not allowed to edit file 'settings.dist.py', for production deployemnts. #
# Any customization of variables need to be done via environmental variables or in 'local_settings.py'. #
# For more information check https://documentation.defectdojo.com/getting_started/configuration/ #
#########################################################################################################

#########################################################################################################
# If as a developer of a new feature, you need to perform an update of file 'settings.dist.py', #
# after the change, calculate the checksum and store it related file by calling the following command: #
# $ sha256sum settings.dist.py | cut -d ' ' -f1 > .settings.dist.py.sha256sum #
#########################################################################################################

# Django settings for DefectDojo
import json
import logging
Expand All @@ -14,9 +26,6 @@

logger = logging.getLogger(__name__)

# See https://documentation.defectdojo.com/getting_started/configuration/ for options
# how to tune the configuration to your needs.

root = environ.Path(__file__) - 3 # Three folders back

# reference: https://pypi.org/project/django-environ/
Expand Down

0 comments on commit e265023

Please sign in to comment.