Pamela Fox
commited on
Commit
·
64e64f3
1
Parent(s):
93cf63b
Update DBName in action
Browse files- .github/workflows/check.yaml +1 -0
- quizsite/settings.py +2 -1
.github/workflows/check.yaml
CHANGED
@@ -34,6 +34,7 @@ jobs:
|
|
34 |
options: "--check --verbose"
|
35 |
- name: Run unit tests
|
36 |
env:
|
|
|
37 |
DBUSER: postgres
|
38 |
DBPASS: postgres
|
39 |
run: |
|
|
|
34 |
options: "--check --verbose"
|
35 |
- name: Run unit tests
|
36 |
env:
|
37 |
+
DBNAME: postgres
|
38 |
DBUSER: postgres
|
39 |
DBPASS: postgres
|
40 |
run: |
|
quizsite/settings.py
CHANGED
@@ -28,7 +28,8 @@ SECRET_KEY = "django-insecure-dfln3fbd4mq*jof)t5($@tlgn98z^a)ar7aw^py7s(j#w^x01q
|
|
28 |
DEBUG = True
|
29 |
|
30 |
CSRF_TRUSTED_ORIGINS = [
|
31 |
-
|
|
|
32 |
]
|
33 |
|
34 |
# Application definition
|
|
|
28 |
DEBUG = True
|
29 |
|
30 |
CSRF_TRUSTED_ORIGINS = [
|
31 |
+
"http://localhost:8000",
|
32 |
+
f"https://{os.getenv('CODESPACE_NAME')}-8000.{os.getenv('GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN')}",
|
33 |
]
|
34 |
|
35 |
# Application definition
|