Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
7f605c96
Verified
Commit
7f605c96
authored
3 years ago
by
Tom Teichler
Browse files
Options
Downloads
Patches
Plain Diff
Enable json config files
parent
f423fa7b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!729
Resolve "JSON config files not handled"
Pipeline
#35946
canceled
3 years ago
Stage: test
Stage: build
Stage: publish
Stage: docker
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/core/settings.py
+1
-0
1 addition, 0 deletions
aleksis/core/settings.py
with
1 addition
and
0 deletions
aleksis/core/settings.py
+
1
−
0
View file @
7f605c96
...
...
@@ -17,6 +17,7 @@ DIRS_FOR_DYNACONF = ["/etc/aleksis"]
SETTINGS_FILE_FOR_DYNACONF
=
[]
for
directory
in
DIRS_FOR_DYNACONF
:
SETTINGS_FILE_FOR_DYNACONF
+=
glob
(
os
.
path
.
join
(
directory
,
"
*.json
"
))
SETTINGS_FILE_FOR_DYNACONF
+=
glob
(
os
.
path
.
join
(
directory
,
"
*.ini
"
))
SETTINGS_FILE_FOR_DYNACONF
+=
glob
(
os
.
path
.
join
(
directory
,
"
*.yaml
"
))
SETTINGS_FILE_FOR_DYNACONF
+=
glob
(
os
.
path
.
join
(
directory
,
"
*.toml
"
))
...
...
This diff is collapsed.
Click to expand it.
Tom Teichler
@debdolph
mentioned in commit
860f43a1
·
3 years ago
mentioned in commit
860f43a1
mentioned in commit 860f43a1e9954ed82e188653c9f8269a1e779fee
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment