Skip to content

Commit

Permalink
base configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
BryonLewis committed Feb 19, 2024
1 parent b9fe319 commit d37b41e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bats_ai/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
ProductionBaseConfiguration,
TestingBaseConfiguration,
)
from composed_configuration._configuration import _BaseConfiguration
from configurations import values

CORS_ALLOWED_ORIGINS = [
Expand Down Expand Up @@ -80,9 +81,10 @@ class DevelopmentConfiguration(BatsAiMixin, DevelopmentBaseConfiguration):
class TestingConfiguration(BatsAiMixin, TestingBaseConfiguration):
pass

class KitwareConfiguration(BatsAiMixin, ProductionBaseConfiguration):
SECRET_KEY = 'secretkey' # Dummy value for local development configuration

class KitwareConfiguration(BatsAiMixin, _BaseConfiguration):
SECRET_KEY = 'secretkey' # Dummy value for local development configuration
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
DEFAULT_FILE_STORAGE = 'minio_storage.storage.MinioMediaStorage'
MINIO_STORAGE_ENDPOINT = values.Value(
'minio:9000',
Expand Down

0 comments on commit d37b41e

Please sign in to comment.