Skip to content

Commit 6e3c88f

Browse files
Add VERSION to settings from environment variable
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 83179a0 commit 6e3c88f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

course_management/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
IS_LOCAL = os.getenv("IS_LOCAL", "0") == "1"
4040
print(f"IS_LOCAL={IS_LOCAL}")
4141

42+
VERSION = os.getenv("VERSION", "N/A")
43+
4244
CSRF_TRUSTED_ORIGINS = []
4345

4446
for host in ALLOWED_HOSTS:

0 commit comments

Comments
 (0)